Re: get / set and sevral values

Tech-Archive recommends: Fix windows errors by optimizing your registry



Adrian <not@xxxxxxxxxxxxxx> wrote:
Re code that I posted last
What is the reason that I cannot write ha[1] = d?

Because the default access level is private. If you make the property
public (or even just internal) it'll be fine.

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.



Relevant Pages

  • Re: Intl. Herald Tribune story re: Shanghai
    ... Hey, may be the USBF drafted this with the Chinese in mind, trying ... intake from sponsoring private organizations. ... this is outrageous beyond belief, and the reason they ... No one is saying that rights ...
    (rec.games.bridge)
  • Re: New P112 page
    ... Dave Griffith wrote: ... I was careful about this for another reason. ... He took my private reply ... to my ISP and called it unsolicited email and used a number of keywords ...
    (comp.os.cpm)
  • Re: changing access modifier of base method
    ... I'm not sure if this counts as a different meaning than your ... quality in the Java resources I've seen:)). ... design reason for making sealed the default. ... many more private members than public. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Replacing new?
    ... But encapsulation itself is not related to private and protected: ... The reason is - user needs it. ... errors after that - responsible for that is fully programmer, ...
    (comp.lang.javascript)
  • Re: Public School was a waste of my time (Re: When even a Republican can see it....)
    ... England had a system of private ... courts) for about a third of a millenium. ... or does one observe that the poverty rate was ... that the welfare state is the reason there are so many poor people? ...
    (rec.arts.sf.fandom)