static void Main(string[] args) { var testTable = TruthTable.Create<bool, bool, bool, bool> (b => b /*Column description*/ , b => b /* Column 2 */ , b => b, b => b, defaultValue: false) .Row(false, false, false, false, false) .Row(false, true, false, true, true) .Row(true, true, true, false, false) .Row(true, false, true, true, true); var result = testTable.GetValue(false, true, false, true); }