Skip to content

Instantly share code, notes, and snippets.

@schani
Created August 13, 2010 23:08
Show Gist options
  • Select an option

  • Save schani/523687 to your computer and use it in GitHub Desktop.

Select an option

Save schani/523687 to your computer and use it in GitHub Desktop.
class Test
{
static T Run<T>(System.Func<T> f) { return f(); }
public static void Main()
{
int x =
Run(() =>
Run(() =>
Run(() =>
Run(() =>
Run(() =>
Run(() =>
Run(() =>
Run(() =>
Run(() =>
Run(() =>
Run(() =>
Run(() => 1)
)
)
)
)
)
)
)
)
)
)
);
System.Console.WriteLine(x);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment