title: How to create a class with a given name c#
body: <p>I would like to create a class with the name passed in the function. How do I do that?</p>
  
  <p>Basically what I mean is:
  we have a function called</p>
  
  <pre><code>public void CreateClassWithThisName(string name)
  {
  
  }
  </code></pre>
  
  <p>and then we create a class</p>
  
  <pre><code>class name
  {
     //this name is the one passed as parameter in function CreateClassWithThisName
     private Id {get;set}
  }
  </code></pre>