1using System; 2 3namespace utility 4{ 5 static public class BooleanLogic 6 { 7 static public bool not<T>(this T item, Func<T, bool> condition) 8 { 9 return !condition(item); 10 } 11 } 12}