Choose the statements which makes use of essential properties rather than making data member public in C#.NET?

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Choose the statements which makes use of essential properties rather than making data member public in C#.NET?

Post by answerhappygod »

a) Properties have their own access levels like private, public, protected etc. which allows it to have better control about managing read and write properties
b) Properties give us control about what values may be assigned to a member variable of a class they represent
c) Properties consist of set accessor inside which we can validate the value before assigning it to the data variable
d) All of the mentioned
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply