title: Using the generic type 'State<T>' requires 1 type arguments C#
body: <p>I am new in c# and I am trying to generate a class that's using templates, generic type for one of its arguments.</p>
  
  <pre><code>class State&lt;T&gt;
  {
  
      private T state;         // the state represented by a string
      private double cost;     // cost to reach this state (set by a setter)
      private State cameFrom;  // the state we came from to this state 
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>Using the generic type 'State&lt;T&gt;' requires 1 type arguments
  </code></pre>
  
  <p>I've found this <a href="https://stackoverflow.com/questions/8263626/action-delegate-in-net2-using-the-generic-type-system-actiont-requires-1">Action delegate in .NET2 - Using the generic type &#39;System.Action&lt;T&gt;&#39; requires &#39;1&#39; type arguments</a>
  but it's not my case..
  since I'm new in c# i haven't added any code to the regular c-sharp libraries.</p>
  
  <p>HELP.?</p>