title: Get Assembly qualified name of enum member
body: <p>I have enum </p>
  
  <pre><code>  namespace ConsoleTestApplication
    {
      public enum Cars
      {
          Audi,
          BMW,
          Ford
      }
    }
  </code></pre>
  
  <p>now I want to get fully qualified name of enum member</p>
  
  <p>so the result will be </p>
  
  <pre><code>ConsoleTestApplication.Cars.Audi
  </code></pre>
  
  <p>something like </p>
  
  <blockquote>
    <p>Cars.Audi.GetType().FullName;</p>
  </blockquote>
  
  <p>or </p>
  
  <blockquote>
    <p>Cars.Audi.GetType().AssemblyQualifiedName;</p>
  </blockquote>
  
  <p>what I am looking for, but non of those actually does what I need.</p>
  
  <p>The reason of why I need it, because I have two identical enums in different namespaces (don't blame me on bad design, this is how it should be in my project)
  and in one part of my program I need to use member of this enum, but because I have same enums it's gonna complain on ambiguity between same enums in different namespaces. So in order to avoid it I have to provide fully qualified name, reason of why I can't do it manually because this is kind of auto generated files, so I need to specify it programmaticaly at compile time </p>