Am 28.11.2011, 11:54 Uhr, schrieb Jonathan M Davis <jmdavisp...@gmx.com>:

On Monday, November 28, 2011 10:28:34 Debdatta wrote:
Let me get this straight. Instances are shared... and marking a class shared
marks all its members shared? If what you said were true, it would be
trivial to instantiate a class as both shared and unshared. Without any
duplication.

class A
{
///
}

shared A sharedA = new A;
A unsharedA = new A;

maybe it is:
shared A sharedA = new shared(A);

I think I read something like that in the past.

Reply via email to