.NET Developer
Task: Increment a version number in a file.
A project has a file (see attached) which describes the version number of an application. This number is of the following format 1.0.. eg 1.0.20.3 The major or minor number needs to be incremented depending on the type of release of the application: For a “Feature” release the major number is incremented and the minor number is reset to zero. For a “Bug Fix” release the minor number is incremented, Please write a console application which takes an argument of the type of release of the application, and increments the application's version number accord to the rules above, and saves it back to the file.
Instructions: Solution should show good coding practices, be written in C# and include unit tests.