wuzhsh

 private int[] GetIntArrayFromStr(string historyLeaderId)
        {
            var strArray= !string.IsNullOrEmpty(historyLeaderId) && historyLeaderId.Contains(",")
                       ? historyLeaderId.Split(\',\')
                       : new string[2] {"0", "0"};
            return Array.ConvertAll<string, int>(strArray, int.Parse);
        }

分类:

技术点:

相关文章:

  • 2021-12-24
  • 2022-12-23
  • 2021-12-27
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案