Explore >> Select a destination


You are here

brendanbondurant.com
| | blog.submain.com
8.9 parsecs away

Travel
| | This post is about C# classes. Have you ever wanted to know why you should keep a class member private? Find out the answer and more!
| | www.daveabrock.com
12.5 parsecs away

Travel
| | In a C# 9 deep dive, we will first walk through init-only features.
| | www.railstips.org
27.8 parsecs away

Travel
| |
| | nodogmablog.bryanhogan.net
80.5 parsecs away

Travel
| Full source code here. A few weeks ago I wrote a post about using dependency injection to pick between two implementations of an interface. It was a solution I was not very happy with because it meant I had to new up the implementations inside a factory or I had to use service collection to instantiate all implementations of the interface and then use a piece of code to return the one the was wanted.