Files

14 lines
282 B
C#
Raw Permalink Normal View History

2025-12-11 14:13:27 +08:00
namespace WebApplication1
{
public class WeatherForecast
{
public DateOnly Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string? Summary { get; set; }
}
}