I have an array of classes. Each class contains two values (UserName, and UserID).
I need to search the array such as "give my the ID for username Bob Smith."
Other than looping through each value in the array, is there another way I can search it such as searcharray(username, "Bob Smith")?