What is the default access specifier for get and set accessors in properties?
Same access specifier as the property in which they are present.
By default, the set and get accessors have the same accessibility as the indexer or property
of which they are part. For example, if the property is declared public, then by default the
get and set accessors are also public.
Back To Top