判断数组中是否存在某个元素

xiaoxiao2024-08-23  222

string[] strArr = { "a", "b", "cd", "e" }; bool exists = ((IList)strArr).Contains("a");
转载请注明原文地址: https://www.6miu.com/read-5017812.html

最新回复(0)