Delegates in c#
a delegate holds a reference to functions and by calling a delegate we can call all the functions it references. Take a look at the code below to have a better picture,
public static class Main
{
// delegate
delegate void MessagePrinter(string...
karthik2022.hashnode.dev2 min read