title: LINQ Filter query with multiple optional parameters
body: <p>I need to write a LINQ Query against a returned list that takes in multiple optional parameters.  There will be the following variables:</p>
  
  <p>plan,
  Id,
  FirstName,
  LastName,
  DateFrom,
  DateTo,
  MemDateOfBirth</p>
  
  <p>I want to return a filtered list back via LINQ using these parameters, but all of them are optional.  At least one will be supplied when the user hits the search button, but that will be up to the user to decide what they want to search by.  If they supply more than 1, I need to filter by all methods they supply...</p>
  
  <p>So for instance, if they supply a first name and to and from dates, I want to return a filtered list of all instances for a person by that first name between the to and from dates, etc...</p>
  
  <p>What is the easiest way to accomplish this with LINQ? These variables are optional parameters, so any or all of them could be supplied.  I know I could return the main list, then filter through it multiple times to get the results, but I was wondering if there was a quicker, easier way to do it via LINQ...</p>
  
  <p>thanks in advance for your help!</p>