title: Find an element in List of List, c#
body: <p>I have a list of lists as below:</p>
  
  <p><code>List&lt;List &lt;T&gt; &gt; userList</code> </p>
  
  <p><code>Class T { string uniqueidentifier, string param2, int param2}</code></p>
  
  <p>I have a uniqueidentifier and i need to find the element T in the list that has the same 'uniqueidentifier' value.</p>
  
  <p>I can do it using two 'foreach' loops. This does not seem to be nice way doing things. I guess there should be some inbuilt method like 'Find' that does the same thing and is highly optimized. </p>