↧
Answer by TheGeneral for Is multicast delegate create new reference for each...
Delegates are immutable.... When you add a new handler a new delegate is created. Under the hood it calls the Delegate.Combine Method Concatenates the invocation lists of two delegates. Returns A new...
View ArticleAnswer by Dmytro Mukalov for Is multicast delegate create new reference for...
Because it's immutable type and each assignment creates new instance copied from original one. Note it's still reference type but just of special kind.
View ArticleIs multicast delegate create new reference for each chaining?
Is multicast delegate create new reference for each chaining? or its a value type (MSDN says otherwise)? I don't understand, please take look at the following code. using System; class TestClass {...
View Article