您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

WeatherForecast.cs 286B

12345678910111213
  1. namespace HealthMonitor.WebApi
  2. {
  3. public class WeatherForecast
  4. {
  5. public DateTime Date { get; set; }
  6. public int TemperatureC { get; set; }
  7. public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
  8. public string? Summary { get; set; }
  9. }
  10. }