Local Functions vs. Private Methods in C#: When to Use Which
A practical comparison of C# local functions and private methods, covering scope, reuse, readability, and when each one is the right tool.
Development
Browse by term
A practical comparison of C# local functions and private methods, covering scope, reuse, readability, and when each one is the right tool.
Comparing C#'s nullable reference types against the Maybe monad pattern, and which one fits which kind of project.
A balanced look at the arguments for and against allowing brace-less single-line if-statements in C#, including the merge-conflict and code-review angles that make this less trivial than it seems.