Private in C#

Private member can be accessed only in the present class.

using System;
using System.IO;

namespace forgetCode
{
    class program1
    {
        private string name = "Forget Code";


        static void Main(string[] args)
        {

            program1 obj = new program1();
            Console.WriteLine(obj.name);


        }
    }
}


Output:
Forget Code