In java I have :
public enum MyEnum{
Value1,
Value2,
Value3,
//so on
}
And a class which will have a property :
public abstract class MyClass{
public EnumSet<MyEnum> myEnum= EnumSet.noneOf(MyEnum.class); }
But also there is an Level interface which groups MyEnum on levels:
public interface Level{
public EnumSet<MyEnum> LEVEL0 = EnumSet.of(Value1,
Value2,
//etc;}
public EnumSet<MyEnum> LEVEL1 = EnumSet.of(Value3,
Value4,
//etc;}
Also there are used the functions used on the myEnum like clone(),addAll(). How should I treat this cases from the C# perspective?