I need to check for a certain version in one of my components. For that reason I just wanted to introduce a public const int on which I could test.
However, I just read in this SO post When, if ever, should we use const? that it's probably a bad idea to use a const whenever something changes in the future.
What's the best way to do that? Using a public readonly int? Using an attribute? I can't use AssemblyVersion or AssemblyFileVersion as those are not in my hand...
Thanks!