Files
ASPNetCoreBlazorLearningWBS/AspNetCoreApi/WeatherForecast.cs

14 lines
280 B
C#
Raw Normal View History

2024-06-14 10:37:48 +09:00
namespace AspNetCoreApi
{
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; }
}
}