T
Tony Johansson
Hello!
I just wonder what this mean it is written in a book called "Visual C#
2005"
" The accessibilities that are permitted for accessors depends on the
accessibility of the property,
and it is forbiden to make an accessor more accessible than the property it
belongs to. This means that a private property cannot contain any
accessibility modifiers for its accessors, while public properties can call
all modifiers on their accessors"
Can you give an example.
//Tony
I just wonder what this mean it is written in a book called "Visual C#
2005"
" The accessibilities that are permitted for accessors depends on the
accessibility of the property,
and it is forbiden to make an accessor more accessible than the property it
belongs to. This means that a private property cannot contain any
accessibility modifiers for its accessors, while public properties can call
all modifiers on their accessors"
Can you give an example.
//Tony