Why is the ApplicationUsageHelper.Init method not accepting the "Version" type, but rather only string?
2 Answers, 1 is accepted
answered on 16 Oct 2012, 06:57 AM
Thank you for your question.
The Version type can be used for versions consisting of up to only four integer values. And as the ApplicationUsageHelper.Init accepts the string type, you don't have this limitation and you can set a version like 2012.Q3 for example. If you have a value of type Version, you can easily pass it to the method by getting the value's string representation with the ToString method.
On the other hand, maybe you can share with us why you would want to use the Version type and what benefits you would get.