R
Rick
object[,] siblings = { { "John", 25 }, { "Mike", 30 }, { "Tom", 40 } };
Let say I have a value:
string searchString = "Mike";
How do I search for the [searchString] in the array siblings and get the age
(in case of Mike, it is 30)?
Let say I have a value:
string searchString = "Mike";
How do I search for the [searchString] in the array siblings and get the age
(in case of Mike, it is 30)?