Interviews1 answer
As we aware that properties are three types, read, write, and ReadWrite. Give me examples on all types of props?
1 Answer
This is a example of three types of properties :
public int ReadOnlyProperty { get; private set; }
public int WriteOnlyProperty { private get; set; }
public int ReadWriteProperty { get; set; }
Abbas AmiriPosted Apr 19, 2009, 9:53 PM EDT
