Set modifier is present write - only property can be specified - Csharp.Net
Q. A write - only property can be specified if the following is present.- Published on 31 Aug 15a. The set modifier only
b. The get modifier only
c. Both the modifiers
d. None of the modifiers
ANSWER: The set modifier only
A property is called as write-only property if it has set modifier only. Properties can be think as an extension of fields. A property is one or two code blocks, representing a get accessor or a set accessor or both.