title: Custom search in Generic List
body: <p>Say I have a list of training centres like</p>
  
  <pre><code>List&lt;TrainingCentre&gt; tList = new List&lt;TrainingCentre&gt;()
  
   {
  
       new TrainingCentre{ Id=1, Name="XXXX", location="NY"},
       new TrainingCentre{Id=2, Name="YYYY",location="OL"},
       new TrainingCentre{Id=3,Name="ZZZ",location="DD"} 
  
   };
  </code></pre>
  
  <p>each training centre has exactly one location.</p>
  
  <p>The requirement here is to allow the user to key in their preferred locations and display the result according their search keywords.</p>
  
  <p>For example :</p>
  
  <p>User may prefer two locations <code>"NY" and "DD"</code> or  single location like <code>"NY".</code></p>
  
  <p>How to write a where clause to take different locations at a time. Do i need string split or other techniques?</p>