using System.Collections.Generic;
public static void Main()
List<int> test = new List<int>(){ 1};
var result = test.Select(x => {
Console.WriteLine("Select executed for " + x);
var result2 = result.ToList();
Console.WriteLine("IEnumerable changed to List - logic should not be repeated.");
result2.All(x=> x%2 ==1);
result2.All(x=> x%2 ==1);
result2.All(x=> x%2 ==1);
Console.WriteLine("Hello World");