Here you are trying to print the object itself. If you would like to print the CityName and Temperature, inside the foreach you have to print the property.
foreach (var item in cityList)
{
Console.WriteLine(item.CityName);
Console.WriteLine(item.Temperature);
}
But here, you are getting a single city and temperature only and printing it. Why do you need a list in that case?