摘要:
StreamReader sr = new StreamReader(@"E:\weather.txt", Encoding.GetEncoding("GB2312")); string line; while ((line = sr.ReadLine()) != null) { line = line.Substring(1); string[] str = line.Split('\t'); CityCode cityCode = new CityCode(); cityCode.cc_Id = str[1]; cityCode.cc 阅读全文