Java Vs C# Closures

Performance:
Closure:  0.816 sec
Interface: 0.258 sec
Inline(PureC#): 0.22 sec

Conclusion: Never use Actions, Funcs, Lambdas, Delegates and all the garbage c# brought, switch to plain old interfaces like java does.

Continue reading “Java Vs C# Closures”

Advertisements