A closure in C# takes the form of an in-line delegate/anonymous method. A closure is attached to its parent method meaning that variables defined parents method body can be referenced within the anonymous method.
A good article on C# Closures....
C# Closures Explained
No comments:
Post a Comment