To create a constant that is available throughout an application, declare it using the Public keyword in the declarations section of the class. Although constants somewhat resemble variables, you cannot modify them or assign new values to them as you can to variables.