Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
This is basic c# 101.
A common pattern is passing a callback (delegate) to method. The method defines the the supported delegate signature (parameters and return type). this pattern is so common, the Action<> and Func<> generics are defined. See:
In your sample code a lambda is used as the delegate.