On 2012-11-22 13:19, John Chapman wrote:

I believe Jacob is referring to C#'s auto-implemented properties:
http://msdn.microsoft.com/en-us/library/bb384054.aspx

The compiler generates the get/set pair and backing store from the
user's single-line declaration.

So,

    @property int bar();

would expand to:

   private int bar_;

   @property void bar(int value) {
     bar_ = value;
   }

   @property int bar() {
     return bar_;
   }


Yeah, that's what I wrote.

--
/Jacob Carlborg

Reply via email to