Skip to content

Instantly share code, notes, and snippets.

@snippe
Created December 5, 2014 12:03
Show Gist options
  • Save snippe/2e628e49eb4f33570654 to your computer and use it in GitHub Desktop.
Save snippe/2e628e49eb4f33570654 to your computer and use it in GitHub Desktop.
Anonymous Delegate
delegate void PrintDelegate(string message);
PrintDelegate printer = delegate(string message)
{
Console.WriteLine(message);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment