title: C# "Is a 'Type' but is used like a variable"
body: <p>I'm looking for some help with the following error:</p>
  
  <blockquote>
    <p>'Practical_2.Card' is a 'type' but is used like a 'variable'</p>
  </blockquote>
  
  <p>This is my code:</p>
  
  <pre><code>class Tester
  {
      static void Main(string[] args)
      {
          Card[] hand = {
                            new Card("Spade", 3),
                            new Card("Club", 10),
                            new Card("Diamond", 11),
                            new Card("Heart", 9),
                            new Card("Diamond", 13),
                        };
          ProcessHand(hand);
  
      }//end of static void main
  
      static void ProcessHand(Card[] cards)
      {
          Console.WriteLine("{0,-10:s}: {1,-10:i}", "suit: ", Card[0]);
  
      }//end of static void processhand
  }//end of class Tester
  class Card
  {
      public string suit { get; set; }
      public int facevalue { get; set; }
      public Card (string su, int fa) 
      {
          suit = su;
          facevalue = fa;
  
      }
      public void DisplayCard()
      {
          Console.WriteLine(suit, facevalue);
  
      }
  }//end of class Card
  </code></pre>
  
  <p>I get the error on this line:<code>Console.WriteLine("{0,-10:s}: {1,-10:i}", "suit: ", Card[0]);</code></p>
  
  <p>Help would me much appreciated.
  Cheers</p>