Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

what are delegates and how to use them c#

myDelegate d1 = new myDelegate(Method1);myDelegate d2 = new myDelegate(Method2);myDelegate multicastDelegate = (myDelegate)Delegate.Combine(d1, d2);multicastDelegate.Invoke();
Source by www.infoworld.com #
 
PREVIOUS NEXT
Tagged: #delegates
ADD COMMENT
Topic
Name
8+1 =