public void TestItemNames() { for (int i = 0; i < 28000; i++) { String desc = ItemName.getName(i); if (desc.Contains("Sorry")) { continue; } Console.WriteLine(String.Format("INSERT INTO items (\"item_id\", \"name\", \"description\") VALUES ({0} ,'{1}', '{2}');", new object[] { i, desc.Replace("'", "''"), ItemDescription.getDescription(i, "").Replace("'", "''") })); } }