class Program
{
static void Main()
{
Cat cat = null;
cat.SaySomething();
}
}
public class Cat { }
public static class Extensions
{
public static void SaySomething(this Cat cat)
{
Console.WriteLine("Meow!");
}
}