WeatherForecast.cs 296 B

123456789101112131415
  1. using System;
  2. namespace rediswebapiTest
  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. }