数组去掉重复得元素
2021-02-17 03:19
阅读:695
标签:string distinct nbsp div array tin str number numbers 数组去掉重复得元素 标签:string distinct nbsp div array tin str number numbers 原文地址:https://www.cnblogs.com/wugh8726254/p/12701599.html
String[] str = {"aa","kser","bdf","ope","aa"};
String[] str2 = str.Distinct().ToArray();
评论
亲,登录后才可以留言!