Skip to content
MA Marko Apfel
Articles Topics Tags About

Browse by term

CodeQuality

07 Feb 2025 2 min

Worth Reading: Why You Should End Your Source Files With a Newline

Pointing to a well-argued dev.to article on why source files should end with a newline, and a short note on why it's worth adopting as a habit.

Development
27 Jan 2025 3 min

ReSharper's Built-in Code Cleanup Profiles, Compared

What ReSharper's three built-in Code Cleanup profiles actually do differently, plus a naming pitfall worth avoiding when customizing profiles across settings layers.

Development
27 Jan 2025 2 min

ReSharper's 'Sort Modifiers' Cleanup Setting, Explained

What ReSharper's Sort Modifiers cleanup setting does, the default Microsoft-guideline modifier order it applies, and where to configure it.

Development
27 Jan 2025 2 min

ReSharper's 'Arrange Qualifiers' Cleanup Setting, Explained

How ReSharper's Arrange Qualifiers cleanup setting decides when a namespace or type qualifier is redundant versus necessary, with common scenarios and configuration steps.

Development
27 Jan 2025 3 min

ReSharper's 'Apply File Layout' Cleanup Setting, Explained

What ReSharper's Apply File Layout cleanup setting does, how to customize it, and why it matters for team consistency.

Development
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
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