Пример #1
0
 public Celsius(double celsius)
 {
     _converter = new TemperatureConverter(celsius);
 }
Пример #2
0
 public static double ToKevin(this TemperatureConverter temperature)
 {
     return(temperature.Value + 273.15);
 }