Posts by Henrique • 216 points
2 posts
-
8
votes2
answers2228
viewsA: What is the difference between a lambda expression, a closure and a delegate?
Delegate is equivalent to a function/method pointer. That is, it is a way for you to turn a method call into an object. Func<string, int> fn = int.Parse; MetodoX( fn ); When calling the method…
-
2
votes1
answer460
viewsA: Check C#threads
The indication of threads available does not mean that these threads were, in fact, created. The ThreadPool works with a maximum number of threads (possible to be configured), the method…