public static void Main()
Foo foo = new Foo("Blue");
public static void WriteFoo(Foo foo)
Console.WriteLine("Foo is a color and that color is " + foo.Name);
else if (foo.Name == "Square")
Console.WriteLine("Foo is a shape and that shape is " + foo.Name);
else if (foo.Name == "Invisible")
Console.WriteLine("Now, where is that foo?");
Console.WriteLine("Huh, this is a default foo, we didn't expect that.");