Sky.Net/API/WeatherForecast.cs

15 lines
254 B
C#
Raw Normal View History

2022-05-09 14:41:15 -07:00
using System;
namespace API;
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; }
}