public void DisplayWeatherRow(WeatherData wd, int userRow) { Console.WriteLine(wd.GetWeatherRow(userRow)); }
public string GetWeatherRow(WeatherData wd, int userRow) { StringBuilder rowData = new StringBuilder(); return(rowData.Append(wd.GetWeatherRow(userRow)).ToString()); }
public void GetWeatherRowWithHeader(WeatherData wd, int userRow) { Console.WriteLine(wd.GetWeatherRow(0)); Console.WriteLine(wd.GetWeatherRow(userRow)); }