Click here to Skip to main content
15,881,803 members
Articles / Programming Languages / C#

CooksMate

Rate me:
Please Sign up or sign in to vote.
3.32/5 (8 votes)
21 Jan 2008GPL32 min read 56.1K   1K   23  
A simple program to help get the timing of a roast dinner
/*
 * Created by SharpDevelop.
 * User: andy
 * Date: 23/12/2007
 * Time: 12:14
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;

using uk.org.aspellclark.common;

namespace uk.org.aspellclark.cooksmate
{
	/// <summary>
	/// Description of AppVersion.
	/// </summary>
	public class AppVersion
	{
		/// <summary>
		/// this constant holds the development status of this application
		/// e.g alpha, beta etc...
		/// </summary>
		private const string BUILD_STATUS = " alpha";
		
		
		/// <summary>
		/// This property returns the application version number as a string
		/// </summary>
		public static string VersionNumber
		{
			get
			{
				return AppInfo.ApplicationVersion;
			}
		}
		
		
		/// <summary>
		/// this property returns a string containing the application version number
		/// </summary>
		public static string VersionString
		{
			get
			{
				return "Version " + VersionNumber + BUILD_STATUS;
			}
		}
		
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer (Senior) Airbus Defense and Space
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions