title: Is datetime struct or class in C#?
body: <p>I just started c#. But can not figure out <code>DateTime</code>. I know it is a struct but why do I see different ways of initialize it like class sometime.</p>
  
  <p>How is this if it is a struct?</p>
  
  <pre><code>DateTime myValue = DateTime.Now;  // This is struct
  
  DateTime myValue2 = new DateTime(); // This is class with +11 overloads. 
  </code></pre>
  
  <p>So is there two versions of datetime in c# one is struct and other is class? </p>