Static and instance properties

There can be further categorization of properties as static or instance properties. Static, as the name suggests, can be invoked without any instance. The self-identifier is neglected by the static property while it is necessary for the instance property. The following is an example of the static property:

static member MyStaticProperty
with get() = myStaticValue
and set(value) = myStaticValue <- value
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset