How to give enum values that are having space

Posted by HotTester on Stack Overflow See other posts from Stack Overflow or by HotTester
Published on 2010-03-03T10:09:48Z Indexed on 2010/03/08 5:36 UTC
Read the original article Hit count: 311

Filed under:
|

i have to create an enum that contains values that are having spaces

public enum MyEnum
        {
            My cart,
            Selected items,
            Bill            
        }

This is giving error. Using concatenated words like MyCart or using underscore My_Cart is not an option. Please guide.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#