📜  c# 搜索字符串数组 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:18.396000             🧑  作者: Mango

代码示例1
string [] arr = {"One","Two","Three"};
       var target = "One";
       var results = Array.FindAll(arr, s => s.Equals(target));