1
Reply

What is Properties? What are the types of properties used in .net?

18y
4.7k
0
Reply

    Properties are named member of classes, struct and interfaces. They provide a flexible mechanism to read, write or compute the value of private field through accessors.

    A property is classified according to the accessor used -

    1) Read only  - A property with GET accessor only.

    2) Write only  - A property with SET accessor only.

    3) Read-Write only  - A property with GET and SET accessors.

    18y
    0