@property - take it behind the woodshed and shoot it?
mist
none at none.none
Fri Jan 25 07:05:57 PST 2013
On Friday, 25 January 2013 at 15:02:46 UTC, Jacob Carlborg wrote:
> On 2013-01-25 15:55, mist wrote:
>> Meaning of @property for free functions is well-defined. Most
>> likely
>> because languages like C# does not have UFCS as far as I
>> rememeber.
>
> C# doesn't have UFCS but it does have a syntax for adding new
> methods for existing classes. The end result is the same.
Great, could you give a sample? Does it work on compile time or
injects in run-time? Is calling of such methods allowed in usual
free form?
Unfortunately I have never been using C# in practice, only
following materials available in the internet, would be really
interesting to learn from their approach.
More information about the Digitalmars-d
mailing list