Proposal: user defined attributes

Paulo Pinto pjmlp at progtools.org
Mon Mar 19 00:07:51 PDT 2012


Except for shared types, since in C# data is shared by default, everything
else is available:

RAII            -> using ()
immutable -> achieved via cons/readonly (good enough for most purposes)
ThreadLocal -> ThreadLocal<T> class

"Walter Bright"  wrote in message news:jk3esn$1697$1 at digitalmars.com...

On 3/17/2012 6:39 PM, Manu wrote:
> I'm sure C# already answers all these questions. It has precisely the same 
> set
> of issues associated.

C# doesn't have RAII, immutable, nor the notion of threadlocal/shared types. 



More information about the Digitalmars-d mailing list