Answers for "what are delegates and how to use them c#"

C#
0

what are delegates and how to use them c#

public delegate void MyDelegate(string text);
Posted by: Guest on December-23-2020
0

what are delegates and how to use them c#

MyDelegate d = new MyDelegate(ShowText);
Posted by: Guest on December-23-2020
0

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();
Posted by: Guest on December-23-2020
0

what are delegates and how to use them c#

delegate result-type identifier ([parameters])
Posted by: Guest on December-23-2020

Code answers related to "what are delegates and how to use them c#"

C# Answers by Framework

Browse Popular Code Answers by Language