[Mono-list] 3 TODOs in Threading namespace almost completed

Jeroen Frijters jeroen@sumatra.nl
Tue, 16 Mar 2004 21:24:13 +0100


Miguel de Icaza wrote:
> > Actually, not all classes have to have a constructor. Look=20
> at a class
> > generated by:
> > ...
> > C# will also have this sorta thingy in 2.0.
>=20
> No, it wont.
>=20
> It will have syntactic sugar for making it explicit that the class can
> not be instantiated, by making the constructor private (the pattern
> used today)

Why do assume a particular implementation? Marking a class sealed and
abstract seems like a perfectly sensible way to compile "static class".

Regards,
Jeroen