xxxxxxxxxx
// Example usage of 'const' in C#
using System;
public class Program
{
const int MaxValue = 100; // Declaration of a constant variable
public static void Main()
{
Console.WriteLine("The maximum value is: " + MaxValue);
// MaxValue = 200; // This will result in a compile-time error, as the constant cannot be modified
// Other code logic...
}
}