WeatherForecast.cs 295 字节
Newer Older
S
simon 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
using System;

namespace Aurora.Storage
{
    public class WeatherForecast
    {
        public DateTime Date { get; set; }

        public int TemperatureC { get; set; }

        public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);

        public string Summary { get; set; }
    }
}