Skip to content

Instantly share code, notes, and snippets.

@DavidSSL
Created January 18, 2016 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidSSL/3e06b22dea79484d1858 to your computer and use it in GitHub Desktop.
Save DavidSSL/3e06b22dea79484d1858 to your computer and use it in GitHub Desktop.
class Program
{
static void Main()
{
Person.Eats();
}
}
public class Person
{
// 2 Method compatible with PersonEatsDelegate
public static void Eats()
{
Console.WriteLine("The person eats!");
}
public static void Says(string message)
{
// Some implementation
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment