Answers for "how to find specific item from string array in c#"

C#
1

find word in string array c#

Array.FindIndex(list, s => s.Equals(word));
Posted by: Guest on December-07-2021
-1

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 find specific item from string array in c#"

C# Answers by Framework

Browse Popular Code Answers by Language