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

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

php - facebook and github login HWIOAuthBundle and FOSUserBundle in Symfony2.1 -

hadoop - Sqoop installation export and import from postgresql -