Answer:
No. The access modifier on a property applies to both its get and set accessors. If you want them to be different, then make the property as read-only (by only providing a get accessor) and create a private/internal set method that is separate from the property.
Asked In: Many Interviews |
Alert Moderator