Consider a class maths and we had a property called as sum.b which is the reference to a maths object and we want the statement Console.WriteLine(b.sum)to fail.Which among the following is the correct solution to ensure this functionality?

🎲 Try a Random Question  |  Total Questions in Quiz: 143  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
B.Sc (IT) - Framework Technology — practice the complete quiz, review flashcards, or try a random question.


Consider a class maths and we had a property called as sum.b which is the reference to a maths object and we want the statement Console.WriteLine(b.sum)to fail.Which among the following is the correct solution to ensure this functionality?