Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links


Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites





I delegate sono struct???

Quasi da non credere (J. Duffy, "Professional .NET Framework 2.0", p. 61):

"The actual IL emmited shows some of the complexities of delegates in the underlying type system:"

struct MyDelegate : System.MulticastDelegate


Notice first that the MyDelegate type breaks one of the rules discussed above, namely that structs cannot derive from types other than ValueType. Delegates have special support in the CTS, so this is allowed."

Abbastanza sconvolgente questo paragrafo, non trovate?

Print | posted on giovedì 3 agosto 2006 11:11 | Filed Under [ Carillon .NET ]

Powered by:
Powered By Subtext Powered By ASP.NET