public static void Main()
Action yepItsTrue = () => Console.WriteLine("Yep, its true.");
Action nopeItsFalse = () => {
Console.WriteLine("Nope. False.");
Action<string> consoleMsg = (msg) => Console.WriteLine(msg);
PerformCheck(1 == 2, yepItsTrue, nopeItsFalse);
ifFalse: () => Console.WriteLine("No, no, NO!"));
ifTrue: () => consoleMsg("YES!"),
ifFalse: () => consoleMsg("NO!"));
Func<string, string> func = (msg) => {
static void PerformCheck(bool logic, Action ifTrue, Action ifFalse)