c# - How can I easily create a case (switch case) for all enum items? -
often using switch-case, , creating case enum items.
is there shortcut (it may resharper shortcut) creates cases automatically , let me fill cases?
or question related code-snippet subject? possible create dynamic code-snippet (it vary according enum type) ?
set cursor after first brace within switch statement , press alt + enter. see option generate switch labels.
Comments
Post a Comment