The Artima Developer Community
Sponsored Link

.NET Buzz Forum
I delegate sono struct???

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Adrian Florea

Posts: 206
Nickname: adrian11
Registered: Jul, 2004

Adrian Florea is a .NET developer from Italy
I delegate sono struct??? Posted: Aug 3, 2006 12:48 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Adrian Florea.
Original Post: I delegate sono struct???
Feed Title: Web Log di Adrian Florea
Feed URL: /error.aspx?aspxerrorpath=/adrian/Rss.aspx
Feed Description: "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
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Adrian Florea
Latest Posts From Web Log di Adrian Florea

Advertisement

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?

Read: I delegate sono struct???

Topic: Cool Site: GotAPI.com Previous Topic   Next Topic Topic: Want to test drive Office 2007?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use