How to combine two types of C# lists into one?
<p>I have created two lists say X &amp; Y. These two lists are of different types.
(ie <code>List&lt;class_A&gt; X</code> &amp; <code>List&lt;class_B&gt; Y</code>). </p>

<p>Values in both these lists are different. But there is a <code>DateTime</code> field in both these lists.</p>

<p>I need to sort these lists according to the <code>date</code> field.</p>

<p>I have separate functions to print the details of list A and List B.</p>

<p>Suppose the sorted list looks like</p>

<ul>
<li>tuple from list A,</li>
<li>tuple from list B,</li>
<li>tuple from list A,</li>
<li>tuple from list B,</li>
</ul>

<p>My purpose is to loop through this list and call the appropriate function to display the details. ie if the tuple is from list A then call the function for printing list A's details and vice versa.</p>