A.class Sample
{
int len;
public int Length
{
get
{
return len;
}
}
}
B.class Sample
{
public int Length
{
get
{
return Length;
}
}
}
C.class Sample
{
int len;
public int Length
{
get
{
return len;
}
set
{
len = value;
}
}
}
D.class Sample
{
int len;
public int Length
{
Readonly get
{
return len;
}
}
}
Answer: Option A
{
int len;
public int Length
{
get
{
return len;
}
}
}
B.class Sample
{
public int Length
{
get
{
return Length;
}
}
}
C.class Sample
{
int len;
public int Length
{
get
{
return len;
}
set
{
len = value;
}
}
}
D.class Sample
{
int len;
public int Length
{
Readonly get
{
return len;
}
}
}
Answer: Option A