Skip to content
MA Marko Apfel
Articles Topics Tags About

Browse by term

CSharp

06 Aug 2024 3 min

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
29 Jul 2024 4 min

Nullable Reference Types vs. the Maybe Monad in C#

Comparing C#'s nullable reference types against the Maybe monad pattern, and which one fits which kind of project.

Development
18 May 2022 6 min

The Single-Line If-Statement Debate: Arguments For and Against Braces

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.

Development

© 2026 Marko Apfel. Built with Hugo.

RSS