Which oops technique is used in the below class. public class Myclass{
private int i;
public int SetTheValue
{
get
{
return i;
}
set
{
i=value;
}
}
}Which oops technique is used in the below class. public class Myclass{
private int i;
public int SetTheValue
{
get
{
return i;
}
set
{
i=value;
}
}
}
2 Answers