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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top