Using System.Version for General-Purpose Versioning

Scenario: I needed to track multiple random version numbers for several random things in my code. I would like to define a class to track them and enter into a form in which I can easily call and manipulate. I considered using System.Version, but it has been described as a class for versioning specific things:

Represents the version number of an assembly, operating system, or common language runtime.

Question: Is it permissible to use the System.Version class for things other than "assembly, operating system or common language runtime?"

+3
source share
2 answers

System.Version , ; Build, Major, MajorRevision,... . , , , . , , , , System.Version , , , , , .

, System.Version , .

+2

, Microsoft System.Version ... DateTime.

+1

Source: https://habr.com/ru/post/1786841/


All Articles