[Mono-list] C# General Question...

A Rafael D Teixeira rafaelteixeirabr@hotmail.com
Sat, 11 Jan 2003 00:55:32 -0200


I donīt agree as being an oversight, it is a best pratice: things with 
different accessibility MUST have different NAMES. just recode your snippet 
as:

class A {
   protected int m_data = 1;
   public int Data {
      get { return m_data; }
   }
}

Cheers,

Rafael Teixeira
Brazilian Polymath
Mono, MonoQLE Hacker




_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail