Keep Your Fields Private
A look at why keeping class fields private and exposing properties instead supports better control, abstraction, and long-term flexibility in your code design.
General programming guidance for C# developers, including project ideas for beginners, book recommendations, and tips for navigating unfamiliar codebases.
Showing 31–32 of 32 articles
A look at why keeping class fields private and exposing properties instead supports better control, abstraction, and long-term flexibility in your code design.
Practical guidelines for designing a good API, focused on keeping method inputs generic and making return values as information rich as possible.