Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. namespace WeatherApp
  2. {
  3. public class Weather
  4. {
  5. public string Title { get; set; }
  6. public string Temperature { get; set; }
  7. public string Wind { get; set; }
  8. public string Humidity { get; set; }
  9. public string Visibility { get; set; }
  10. public string Sunrise { get; set; }
  11. public string Sunset { get; set; }
  12.  
  13. public Weather()
  14. {
  15. //Because labels bind to these values, set them to an empty string to
  16. //ensure that the label appears on all platforms by default.
  17. this.Title = " ";
  18. this.Temperature = " ";
  19. this.Wind = " ";
  20. this.Humidity = " ";
  21. this.Visibility = " ";
  22. this.Sunrise = " ";
  23. this.Sunset = " ";
  24. }
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement