Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define an enum within a method
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01072501
Message ID:
01072545
Views:
15
I haven't finished my first cup of joe just yet but I think you can write something to the affect of this...
public class myClass
{
  private void myMethod()
  {
    // Method code that is using the enum
  }

  private enum myEnum : byte
  {
    Zero = 0x00,
    One = 0x01
  }

}
Previous
Reply
Map
View

Click here to load this message in the networking platform