C# Variable Name To String
<p>I have variable</p>

<pre><code>public string MyVariable;
</code></pre>

<p>I need use name of variable as string. Example:</p>

<pre><code>var a = MyVariable.NameVariable();
// a = "MyVariable"
</code></pre>

<p>How i may to do this?</p>

<p>I would like to create your miniORM (NHibernate is too heavy and requires a separate library). At the moment the problem is that I have to point out a bunch of constants. For example:</p>

<pre><code>public const string FieldIdRules = "idRules"
</code></pre>

<p>And then to make transactions in relation samonapisannom profiler.
I saw that Hibernate does not need to specify the text value (for the ratio of fields). I want to implement the same.</p>

<p>Sorry my bad english</p>
