title: How can I find a specific element in a List<T>?
body: <p>My application uses a list like this:</p>
  
  <p><code>List&lt;MyClass&gt; list = new List&lt;MyClass&gt;();</code></p>
  
  <p>Using the <code>Add</code> method, another instance of <code>MyClass</code> is added to the list.</p>
  
  <p><code>MyClass</code> provides, among others, the following methods:</p>
  
  <pre><code>public void SetId(String Id);
  public String GetId();
  </code></pre>
  
  <p>How can I find a specific instance of <code>MyClass</code> by means of using the <code>GetId</code> method? I know there is the <code>Find</code> method, but I don't know if this would work here?!</p>