I have a list of lists as shown below:
List<List <T> > userList
Class T { string uniqueidentifier, string param2, int param2}
I have a unique identifier, and I need to find the T element in the list that has the same "uniqueidentifier" value.
I can do this using two foreach loops. It doesn't seem so good. I suppose there should be a built-in method, such as Find, which does the same and is highly optimized.
Sandy source share