0 votes
in C Sharp by
Define Property in C-Sharp?

1 Answer

0 votes
by

Properties are members that provide a flexible mechanism to read, write or compute the values of private fields, in other words by the property we can access private fields. In other words we can say that a property is a return type function/method with one parameter or without a parameter. These are always public data members. It uses methods to access and assign values to private fields called accessors.

Related questions

0 votes
0 votes
asked Feb 16, 2020 in C Sharp by rahuljain1
+1 vote
asked Jan 20, 2020 in Linear Algebra by rahuljain1
...