Which keyword should you use?

You have a class with a property.
You need to ensure that consumers of the class can write to the value of the property.
Which keyword should you use?

You have a class with a property.
You need to ensure that consumers of the class can write to the value of the property.
Which keyword should you use?

A.
Add

B.
value

C.
Set

D.
Get



Leave a Reply 1

Your email address will not be published. Required fields are marked *


JD82

JD82

should be ‘set’ to write to the value