日期:2014-05-18 浏览次数:21169 次
public class WeatherManager
{
public string[] WeatherForecast(string city)
{
cn.com.webxml.www.WeatherWebService weather = new cn.com.webxml.www.WeatherWebService();
return weather.getWeatherbyCityName(city);
}
}
new Thread(new ThreadStart(()=>{
// get weather
})).Start();