List<string> list = new List<string>(); // or var list = new List<string>();
if (list.Count == 0) { /* ... */ }