WeatherForecast.cs 310 B

123456789101112131415
  1. using System;
  2. namespace HyperCube.Data
  3. {
  4. public class WeatherForecast
  5. {
  6. public DateTime Date { get; set; }
  7. public int TemperatureC { get; set; }
  8. public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
  9. public string Summary { get; set; }
  10. }
  11. }