Substracting adjacent two values in a list C#
<p>There is a list called cardReaderHistory . That contains some time records in ordered fashion as follows,</p>

<p>InTime1<br>
 OutTime1<br>
 InTime2<br>
 OutTime2<br>
 InTime3<br>
 OutTime3<br>
 InTime4<br>
 OutTime4.....furthermore..  </p>

<p>What I need is Calculate Working time by  (OutTime1 - Intime1) + (OutTime1 - Intime1).....<br>
 double 
How could I do this in C#...????  </p>

<pre><code> double hr = ((outTime1 - inTime1)+(OutTime2 - Intime2)+...);  
</code></pre>

<p>Thank you..
Poor Beginner</p>
