Uniform Function Call Syntax(UFCS) and @property
Steven Schveighoffer
schveiguy at yahoo.com
Thu Mar 3 14:07:30 PST 2011
On Thu, 03 Mar 2011 16:56:45 -0500, Jonathan M Davis <jmdavisProg at gmx.com>
wrote:
> Conceptually, a property makes no sense unless it's a property _of_
> something.
This is your opinion, not fact. It is a property of the program/global
namespace/module whatever you want to call it.
> I'd argue that C# (which has properties) doesn't have global properties,
> but it
> doesn't even have global variables. It doesn't have static (class)
> properties
> though.
Yes it does. I've used them quite a bit.
Quick search reveals:
http://www.yoda.arachsys.com/csharp/singleton.html
-Steve
More information about the Digitalmars-d
mailing list