title: DateTime struct in C#. Why the DateTime is used as Type for Creating the Property "public DateTime Date { get; }". Why not anything else. like string
body: <p>if I create a class or struct as Cat. Can i declare a property as</p>
  <pre><code>public Cat catname {get;}
  </code></pre>
  <p>as a Property, like in the <code>DateTime</code> struct it contains the Property</p>
  <pre><code>public DateTime Date { get; }
  </code></pre>
  <p><code>DateTime</code> is used as a type in the same struct which is named as <code>DateTime</code>.</p>
  <p>Basically all i want to clarify can we use the Class or struct name as Type in the Same class or Struct.</p>