public static List<GCountryExtend> GetList() { try { var result = new List<GCountryExtend>(); using (ServiceManager<IGCountry> sm = new ServiceManager<IGCountry>()) { result = sm.Service.GetExtendListByWhere(string.Empty); //处理中国优先
Given an array of integers nums sorted in ascending order, find the starting and ending position of a given targetvalue.Your algorithm's runtime complexity must be in the order of O(log n). If the target is not found in the array, return [-1, -1]. Ex