Skip to content

Instantly share code, notes, and snippets.

@the-ress
Created June 5, 2017 21:00
Show Gist options
  • Save the-ress/7cd3629509e94393bea6d4965eeaf4a5 to your computer and use it in GitHub Desktop.
Save the-ress/7cd3629509e94393bea6d4965eeaf4a5 to your computer and use it in GitHub Desktop.
using System;
static class Program {
static void Foo() => throw null;
delegate void Moo();
static Program(){
var foo = new Moo(Foo);
var bar = foo.BeginInvoke(null, null);
foo.EndInvoke(bar);
}
static int Run() {
return 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment