Okay I am wondering what is a syntax to create a new property with read-write proprties, I read the book but it is not clear.
Your help is appreciated
Okay I am wondering what is a syntax to create a new property with read-write proprties, I read the book but it is not clear.
Your help is appreciated
Do you mean get and set, see this link. If you want read-only, don't incloude the set. If you want write-only don't include the get. Include both if you want read-write.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.