title: C# SQL create table with autonumber column
body: <p>How can I create a table from SQL Command that will have a ID that is auto-number or auto-increment?</p>
  
  <pre><code> SqlCommand com 
     = new SqlCommand("create table VeryCoolTable(\"Name\" nvarchar(50) 
        ,id AUTONUMBER)", con);
  </code></pre>
  
  <p>The counter is not recognized and I get error.</p>