Try to search your question here, if you can't find : Ask Any Question Now ?

Custom enum as application setting type in C#?

HomeCategory: stackoverflowCustom enum as application setting type in C#?
Avatarsourav asked 5 months ago

If have an enum in C#:

public enum OperatingSystem 

For my application I use the application settings, where I can select of which Type a setting should be. I thought when I select Browse, I could choose my enum or type the fully qualified path to select that enum as the Type.

I set the type to my Enum, but in the Value (where Windows, Macintosh should be) only Windows is visible and i’m able to enter any string.

1 Answers
Best Answer
Avatarnaveen answered 5 months ago
Your Answer

14 + 12 =

Popular Tags

WP Facebook Auto Publish Powered By :