public enum Sex { Male, Female } // in a separate file class MyClass { public Sex; // rest of class } // different file class DifferentClass { }
Should I use namespaces or some kind of using???
Any help appreciated!
Damn it!
After playing for an hour I finally post a problem then solve it straight away.
I kept the namespaces consistent, removed the duplicated enumeration (I think I had added this in an attempt to get it working) and it works!