static void printDistance(Distance a) { Console.WriteLine("***Distance***"); Console.WriteLine("foots: {0}'\ninches: {1}''", a.foots, a.inches); }