constant & literal in C#

C#-Constants & Literals

C#-Constants & Literals : Constants store a value that cannot be changed from their initial assignment. To declare a constant, use the const modifier. Integer Literals An integer literal can be a decimal, or hexadecimal constant. A prefix specifies the base or radix: 0x or 0X for hexadecimal, and there is no prefix id for …

C#-Constants & Literals Read More »