static void Main(string[] args) { List <int> numbers = new List <int>() { 2, 3, 4, 5, 6, 7, 8, 9, 10 }; int evens = EvenSum.GetEvenSum(numbers); Console.WriteLine(evens); List <string> words = new List <string> { "hello", "press", "hi", "four" }; string fiveLetterWords = FiveLetterWords.GetFiveLetterWords(words); Console.WriteLine(fiveLetterWords); }
static void Main(string[] args) { Console.WriteLine("Hello Lists!"); List <int> numbas = new List <int> { 1, 4, 5, 8, 13, 14, 17, 22, 27, 120 }; SumOfEvenNumbers.SumEven(numbas); List <string> palabras = new List <string> { "hello", "mundo", "bananas", "territory", "gates", "fish" }; FiveLetterWords.WordSelector(palabras); Console.ReadLine(); }