adspace


How to instantiate a delegate?

Answer Posted / Sumit Kumar Srivastav

In .NET (C#), you can instantiate a delegate by creating an instance of the delegate type and assigning a method to it. Here's an example:nDelegateType myDelegate = new DelegateType(method);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1141