class Program
{
static void Main(string[] args)
{
var x = new
{ a = 3, b = 5, c = "some text" };
Console.WriteLine(x.a.ToString());
}
}
class __Anonymous1

{
private int _a = 3;
private int _b = 5;
private string _c = “some text”;

public int a
{ get
{ return _a; } set
{ _a = value; } }
public int b
{ get
{ return _b; } set
{ _b = value; } }
public int c
{ get
{ return _c; } set
{ _c = value; } }
}