• Tutorials
  • Courses
  • Tracks

C# | Delegates | Q-3

Last Updated :
Discuss
Comments

Which of the following is the correct syntax for declaring a delegate?

delegate void MyDelegate(string msg);

void delegate MyDelegate(string msg);

delegate MyDelegate void(string msg);

MyDelegate delegate void(string msg);

Tags:
Share your thoughts in the comments
Article Tags :