using System.Collections.Generic;
public static void Main()
var log = (object message) => Console.WriteLine(message);
var foo = () => log("Hello, World");
var fn1 = (foo, "This is the help text");
var commands = new[] { fn1};
commands.ToList().ForEach(c => {
log(help ?? "No help is available for this function");