I want to create properties in class. Where can I create them in attributes or operations?
I want to create get only property like
string MyString { get; }
Thanks, Omkar
attributes == properties
operations == methods
For a read only property select the clas diagram and, in the properties window, change "Is Read Only" to true.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.