예제 #1
0
 public void DisplayWeatherRow(WeatherData wd, int userRow)
 {
     Console.WriteLine(wd.GetWeatherRow(userRow));
 }
예제 #2
0
        public string GetWeatherRow(WeatherData wd, int userRow)
        {
            StringBuilder rowData = new StringBuilder();

            return(rowData.Append(wd.GetWeatherRow(userRow)).ToString());
        }
예제 #3
0
 public void GetWeatherRowWithHeader(WeatherData wd, int userRow)
 {
     Console.WriteLine(wd.GetWeatherRow(0));
     Console.WriteLine(wd.GetWeatherRow(userRow));
 }