public static void SimpleNull() { Hat myHat = new Hat(); Console.WriteLine($"MyHat is a: {myHat.GetType().Name} and {myHat}"); }
public static void Property() { var myHat = new Hat(); Console.WriteLine($"MyHat's name is {myHat.AcquiredYear.GetType().Name}: {myHat.AcquiredYear.ToString()}"); }