I have an enum and i want to \"hide\" one of its values (as i add it for future support). The code is written in C#.
public enum MyEnum { ValueA = 0,
one way you can do this set the value of this variable null. so when ever its called from enum it'll b null. in short user can't access its value.
null
enum
public enum MyEnum { ValueA = 0, ValueB = 1, Reserved.None }