BatchGuy.Program.GetApplicationVersion C# (CSharp) Method

GetApplicationVersion() public static method

public static GetApplicationVersion ( ) : string
return string
        public static string GetApplicationVersion()
        {
            return string.Format("Version: {0}.{1}.{2}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Major.ToString(), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Minor.ToString(), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Build.ToString());
        }