string str = "1/1/12/13/15/16/15//";

            string[] strs = str.Split(new char[1] { '/' }, StringSplitOptions.RemoveEmptyEntries);

            List<string> new_lst_RingSize = new List<string>();

            foreach (var s in strs)
            {
                if (!new_lst_RingSize.Contains(s))
                {
                    new_lst_RingSize.Add(s);
                }
            }
            foreach (var s in new_lst_RingSize)
            {

                Response.Write(s+"<br/>");
            }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-10-15
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2021-12-19
  • 2021-09-25
  • 2022-01-22
  • 2022-02-01
  • 2022-01-26
相关资源
相似解决方案