Actually this is very simple task; this is a sample code.call the below function in your code or try with a console application in vs 2010/2012.
  1. public void createList()
  2. {
  3. using (SPSite osite = new SPSite("http://Enter url sharepoint site url"))
  4. {
  5. osite.AllowUnsafeUpdates = true;
  6. using (SPWeb oweb= osite.OpenWeb())
  7. {
  8. oweb.AllowUnsafeUpdates = true;
  9. // create new Generic list called "My List"
  10. oweb.Lists.Add("List Name", "Description", SPListTemplateType.GenericList);
  11. // create Text type new column called "My Column"
  12. SPList list = oweb.Lists["List Name"];
  13. list.Fields.Add("My Column", SPFieldType.Text, true);
  14. oSPWeb.AllowUnsafeUpdates = false;
  15. }
  16. oSPsite.AllowUnsafeUpdates = false;
  17. }
  18. }