Q:

Why Properties are introduced in C#?

0

Why Properties are introduced in C#?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Properties are introduced in C# due to the below-mentioned reasons.

  • If the members of a class are private then how another class in C# will be able to read, write, or compute the value that field.
  • If the members of the class are public then another class may misuse that member.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now