title: C# class code loaded in RAM?
body: <p>I would like to know whether the actual code of a C# class gets loaded in RAM when you instantiate the class?</p>
  
  <p>So for example if I have 2 Classes CLASS A , CLASS B, where class A has 10000 lines of code but just 1 field, an int. And class B has 10 lines of code and also 1 field an int as well. If I instantiate Class A will it take more RAM than Class B due to its lines of code ?</p>
  
  <p>A supplementary question, If the lines of code are loaded in memory together with the class, will they be loaded for every instance of the class? or just once for all the instances? </p>
  
  <p>Thanks in advance.  </p>