C
C# Learner
Imagine the following:
class MyClass
{
public enum ErrorCode
{
InvalidCommand,
NotEnoughParameters,
None
}
//...
}
Should ErrorCode be declared as part of MyClass, as above, or should it
be declared outside of it?
class MyClass
{
public enum ErrorCode
{
InvalidCommand,
NotEnoughParameters,
None
}
//...
}
Should ErrorCode be declared as part of MyClass, as above, or should it
be declared outside of it?