What's the best practice to code shared enums between classes <pre><code>namespace Foo { public enum MyEnum { High, Low } public class Class1 { public MyEnum MyProperty { get; set; } } } </code></pre> <p><code>MyEnum</code> is declared outside <code>Class1</code> cause I need it here and in other classes</p> <p>Seems good, but what if I decide later to delete the file containing<code>Class1</code>?</p> <p><code>MyEnum</code> declaration will be lost!!</p> <p>What's the best practice to code shared enums between classes?</p>