static string Foo() { return "f";}
static string Bar() { return "b"; }
static void DoSomething(Func<string> fn) {
Console.WriteLine("function name: " + fn.Method.Name);
Console.WriteLine("function result: " + fn());
public static void Main()
DoSomething(() => "anon");