Reputation: 2393
Is there data type for software version in C#? I would like to be able to easily compare 5.02.0002.2 and 5.02.0003.0 (which one is higher).
Upvotes: 5
Views: 1155
Reputation: 12346
Have a look at System.Version, it does exactly what you want and is used by .NET assemblies as well.
Upvotes: 11