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

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -