"Mike Labosh" <mlabosh_at_hotmail_dot_com> a écrit dans le message de news:
(E-Mail Removed)...
|I have a property block in this class here, and I want it to be get / set,
| but the set should only be visible to the system. i.e., a user
application
| that uses this library should not be able to set the property. It should
be
| read only to the outside world, but read / write for my infrastructure.
|
| I'm having trouble phrasing the code.
public class Test
{
public int Value
{
get { ... }
internal set { ... }
}
}
Joanna
--
Joanna Carter [TeamB]
Consultant Software Engineer