// No using statements here var list = new StringList { "Hello", "I", "Am", "A", "List" }; // StringList instead of List<string>! Console.WriteLine(list.Sum(str => str.Length)); // And we can use Linq!