Property access modifiers

  • Thread starter Thread starter Magne Ryholt
  • Start date Start date
M

Magne Ryholt

C#:
Is it possible to make a property of which the get accessor is public and
the set is not (e.g. internal) ?
 
Magne,
Is it possible to make a property of which the get accessor is public and
the set is not (e.g. internal) ?

Not in the current version, no.



Mattias
 
Magne Ryholt said:
C#:
Is it possible to make a property of which the get accessor is public and
the set is not (e.g. internal) ?

Unfortunately not - yet. You will be able to in Whidbey thoug.
 
Back
Top