title: C# Nullable arrays
body: <p>I have a search function, but I would like <code>LocationID</code> to be an array of integers rather than just a single integer.   I'm not sure how to do this since I want it to also be nullable.  I've looked at doing <code>int?[]</code> but then I'd have to check the <code>HasValue</code> of every single entry.  Is there a better way?</p>
  
  <p>This is what I currently have:</p>
  
  <pre><code>public ActionResult Search(string? SearchString, int? LocationId,
      DateTime? StartDate,  DateTime? EndDate)
  </code></pre>