+ 2
How to do a search by id in form using array list?
I want to search a record from multiple files by id or by name what should I do ? can any one show me the code?
1 Réponse
0
Use IndexOf
ArrayList arr = new ArrayList();
arr.Add("Red");
Console.WriteLine("The index value of Red is:" + arr.IndexOf("Red"));
https://www.dotnetheaven.com/article/indexof-method-in-arraylist