using System;
public class Program
{
public static void Main()
// create an instance of Person
Person person = new Person();
// display the MaxDocuments field
Console.WriteLine(person.MaxDocuments);
// -- Uncomment the line below and review the error
//person.MaxDocuments = 10;
}
public class Person
// MaxDocuments can be set on construction of the Person object
// but cannot be modified after initial creation
public readonly int MaxDocuments;
// Person Constructor
public Person()
// setting MaxDocuments
MaxDocuments = 2 * 3;