Vidyalelo
C# Programming · Q71

Exception Handling in C Sharp

Programming · C# Programming · question 71

Q71

If math class had add property with get and set accessors, then which of the following statements will work correctly?

A.
math.add = 20;
B.
math m = new math();
m.add = 10;
Answer
C.
Console.WriteLine(math.add);
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board