title: how to adjust "is a type but is used like a variable"?
body: <p>I'm trying to generate some code in a web service. But it's returning 2 errors:</p>
  
  <p>1)  List is a type but is used like a variable</p>
  
  <p>2)  No overload for method 'Customer' takes '3 arguments'</p>
  
  <pre><code>[WebService(Namespace = "http://tempuri.org/")]
      [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
      [ToolboxItem(false)]
      public class wstest : System.Web.Services.WebService
      {
  
          [WebMethod]
          public List&lt;Customer&gt; GetList()
          {
              List&lt;Customer&gt; li = List&lt;Customer&gt;();
              li.Add(new Customer("yusuf", "karatoprak", "123456"));
              return li;
          }
      }
  
      public class Customer
      {
          private string name;
          private string surname;
          private string number;
  
          public string Name { get { return name; } set { name = value; } }
          public string SurName { get { return surname; } set { surname = value; } }
          public string Number { get { return number; } set { number = value; } }
      }
  </code></pre>
  
  <p>How can i adjust above error?</p>