R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which keyword is used to define a property in C#?

  • (A) prop
  • (B) getset
  • (C) property
  • (D) get; set;

Explanation by: Ram Sharma
`get; set;` is the syntax used to define properties in C#.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.