Answers for "how to search an array for item with string"

C#
0

c# search string array

string [] arr = {"One","Two","Three"};
       var target = "One";
       var results = Array.FindAll(arr, s => s.Equals(target));
Posted by: Guest on August-07-2020

Code answers related to "how to search an array for item with string"

C# Answers by Framework

Browse Popular Code Answers by Language