I have to store the version name of a template. The version name is autoincremented. If the last version is "version 1.0", then the next "version 2.0" should be. For the first time when a template is made, I'll need to store "version 1.0".
I am using
This is an ugly solution and also does not generate version 1.0. This gives version 1. I also tried with the edition class, it does not work. How to complete it.
string.format ("version {0} .0", latest version + 1 ); Assume that you have .0
.
In addition to version
, nothing should be done except for the property is overloaded in the assembly
to the string ()
the method which allows different formatting Will return
Comments
Post a Comment