title: How can I use enum in C# for storing string constants?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong> <br/>
    <a href="https://stackoverflow.com/questions/630803/enum-with-strings">Enum with strings</a></p>
  </blockquote>
  
  <p>Is it possible to have string constants in enum like the following?</p>
  
  <pre><code>      enum{name1="hmmm" name2="bdidwe"}
  </code></pre>
  
  <p>If it is not, what is the best way to do so?</p>
  
  <p>I tried it, but it's not working for string so right now I am grouping all related constants in one class like</p>
  
  <pre><code>      class operation
        {
            public const string  name1="hmmm";
            public const string  name2="bdidwe"
        }
  </code></pre>