Hi-

        While this isn't a mono-specific question, I think this list, being
very technical and C# based, is the best place I know of to ask.

        Imagine a class as shown here:


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


        Obviously, this is a compile-time error.  My specific question is if
there is a language mechanism to allow for different access levels between the
two different accessors.  If not, then I would be interested in hearing why
not -- it seems like a significant oversight to me.

        Thanks,
        -Eric.

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to