Constants in C# provide a named location in memory to store a data value. It means that the value of the variable will be known in compile time and will be stored in a single place. When you declare it, it is kind of 'hardcoded' in the Microsoft Intermediate Language (MSIL).