Created
July 20, 2023 09:14
-
-
Save solrevdev/eb37984a5acda27a3057e70cf5d5f68f to your computer and use it in GitHub Desktop.
Gets the version of .net version running this code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
var dotnetVersion = System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription; | |
Console.WriteLine($"🌄 .NET Version: {dotnetVersion}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment