using System;
class P
{
public int x { private get; set; }
}
class Program
{
static void Main()
{
Console.Clear();
P obj = new P();
Console.WriteLine( obj.x = 1 );
Console.ReadKey();
}
}