Answer the question
In order to leave comments, you need to log in
What properties exist?
The C# video tutorials covered the mutator, accessor, sealed, virtual, overridden, and partial methods.
And properties were considered - for reading, writing, reading and writing, automatically implemented, sealed.
It is logical to assume (did not check, but the keywords seem to apply to properties) that there is both a virtual and a replaced property. (Yes, and the sealed property already hints at this.) The
question is, do such properties exist or not? In terms of theory, "standard".
That is, the substituted and sealed method was presented as something basic, as a kind of method. Method type.
But they didn’t say a word about a substituted or virtual property. Although the virtual/override modifier probably applies to the property as well.
There are a lot of modifiers. And in theory, we can say that there is a public partial method, a private sealed method (probably more than 100 combinations) ... But in the video tutorials they don’t say that, which is obvious.
But the above-mentioned varieties of methods are distinguished. But about 2 varieties of properties "forgotten".
Maybe the properties I have indicated are more related to a combination of words than to varieties?
I'm currently building a chart/table with the main types of classes, properties, etc. And I need to somehow highlight the main thing.
Are there properties like view?
Answer the question
In order to leave comments, you need to log in
>sealed, mutator, accessor, substituted.
Horror, with such terms no one will understand you. Better switch to English before it's too late.
Properties are also methods, so the same modifiers apply to them.
And yes. These are just modifiers - a virtual property is also a property. And it makes no sense to collect a huge table
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question