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,
You could use the 'Obsolete' attribute - semantically incorrect, but it will do what you want:
public enum MyEnum { ValueA = 0, ValueB = 1, [Obsolete("Do not use this", true)] Reserved }
Anyone who tries to compile using the Foo.Reserved item will get an error
Foo.Reserved