Well, something stumped me. But figured it out … As part of my C# console application, I wanted to print out the version (Major.Minor.Revision) as part of the help output so I could know the release details. And without the Application object, I just wanted the simple information from the build assembly.
The C# Code
Version vrs = Environment.Version; Console.Write("Version: {0}.{1}.{2}", vrs.Major, vrs.Minor, vrs.Revision);
Nice. Hope that helps you too, cause it took a little bit to sift through a lot of “mud blogs” to find it.
this method gives you Framework version. not console applications version