using System.Collections.Generic;
public bool IsNotRelevant { get; set; }
public static void Main()
var s = new List<S>(3) { default(S), default(S), default(S) };
s.ForEach(i => i.IsNotRelevant = true);
private static void Print(IEnumerable<S> e) {
Console.WriteLine("Print:");
foreach (var i in e) { Console.WriteLine("\tIsNotRelevant: {0}", i.IsNotRelevant); }