title: Declaring an enum as a class member
body: <p>Is there any mechanism in C# that allows one to define and declare an Enum variable in the same line like so:</p>
  
  <pre><code>public class ClassWithEnumMember
  {
      public Enum Type { TYPE1, TYPE2, TYPE3 } = TYPE1;
  }
  </code></pre>