Kategooria: .NET

C# delegates allows to use a method like an object. This means that you are able to pass the method as an argument to some other method. This is done by pointing a delegate to a method and passing the delegate as an argument. Then using the delegate you are able to call the method…