A common gotcha: what is the type of 'result' here, and when does the filtering actually run?List<int> source = new() { 1, 2, 3 }; var result = source.Where(x => x > 1); source.Add(99); foreach (var x in result) Console.Write(x + " ");