correct usage:
class myClass
{
public enum myEnumType {Value1, Value2};
public myEnumType myEnumVariable;
}
class myOtherClass
{
public myFunction()
{
myClass foo = new myClass();
foo.myEnumVariable = myClass.myEnumType.Value1;
}
}
Thursday, May 27, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment