How would you code to count days using dateTimePicker in C#
<p>I need to put a code using C#. Need to could number of days once by using 2 <code>dateTimePicker</code> controls.
Anyone has any idea? I know how to do it in <strong>vb.net</strong> not sure how to do <strong>in C#</strong>.</p>

<p>vb.net code:</p>

<pre><code>NumberOfDays = DateDiff(DateInterval.Day, CDate(StartDateTimePicker.Text),
                                CDate(EndDateTimePicker.Text))
</code></pre>
