Find out latest version
<p>I would like to get the logic to find out latest versions among two version numbers
for e.g for blackberry mobile OS, it will return the version number like this '6.0.1'. Some other os might return 6.1 only or 6.1.2.4 something like that. I wish to get logic in C# to find the latest version of the provided version numbers.</p>

<p>for e.g.
i. Find the latest of the below</p>

<pre><code>1. 5.2.4 
2. 6.1.6
</code></pre>

<p>ii. </p>

<pre><code>1. 6.1.4.6
2. 1.8.4.2
</code></pre>
