Article notes
What is the C# lambda operator?
=>
What is the type in C# that is the preferred means of defining and responding to callbacks in applications?
The delegate type
What were the C-style function pointers historically used by the Windows API to configure a function to report back to another function?
Callbacks
What are "nothing more than a concise way to author anonymous methods and ultimately simplifying how you work with the .NET delegate type?"
Lambda expressions
What do C# delegates have support for that traditional C++ function pointers do not?
Multicasting
What is C#'s token for the lambda operator found in lambda calculus?
=>
What type in .NET and .NET Core is able to do what callbacks did before in a type-safe and object-oriented manner?
delegate
When you build a type using the C# delegate keyword, you are indirectly declaring a class type that derives from what class?
System.MulticastDelegate
What type from the System namespace is a generic delegate that can "point to" a method that takes up to 16 arguments and returns void?
Action<>
What type is similar to Action<> but it can point to methods that have a custom return value?
Func<>
What is the class that derives from System.Delegate and provides the necessary infrastructure for a C# delegate to hold onto a list of methods to be invoked later?
System.MulticastDelegate
What is the main requirement when defining a delegate type in C#?
It must match the signature of the method(s) it will point to
What can a delegate do in .NET once it has been created and given the necessary information?
Invoke the method(s) it points to at runtime
What type is the preferred means of defining and responding to callbacks within apps under the .NET platform?
delegate
What is the C# lambda operator?
=>
What type in .NET is a type-safe object that "points to" a method or a list of methods that can be invoked later?
delegate
What type in .NET is a type-safe object that "points to" a method or a list of methods that can be invoked later?
The delegate type
When creating a delegate in C#, what is the main requirement that must be met when defining it?
It must match the signature of the method(s) it will point to
When the C# compiler processes delegate types, it automatically generates a sealed class derived from what class that allows the delegate to hold onto a list of methods to invoke later?
System.MulticastDelegate
When you build a type using the C# delegate keyword, you are indirectly declaring a class that derives from what type?
System.MulticastDelegate