示例#1
0
 //フィートからメートルへの対応表
 private static void PrintFeetToMeterList(int start, int stop)
 {
     for (int feet = start; feet <= stop; feet++)
     {
         double meter = FeetConverter.FeetToMeter(feet);
         Console.WriteLine("{0} ft = {1:0.0000} m", feet, meter);
     }
 }
示例#2
0
 //メートルからフィートへの対応表
 private static void PrintMeterToFeetList(int start, int stop)
 {
     for (int meter = start; meter <= stop; meter++)
     {
         double feet = FeetConverter.MeeterToFeet(meter);
         Console.WriteLine("{0} m = {1:0.0000} ft", meter, feet);
     }
 }