Curious to see what my fellow .Net developers/architects think of this new language feature that's been bandied about since at least early 2017, though it's now potentially slated to be included in C# 8.0. I have to admit, at first I didn't "get it" but I've been doing some...
Posted to
The [K]nightly Build
by
Jayson Knight
on Sat, Dec 29 2018
Filed under: Technology and Internet, Tools and Resources, Tech Articles, .Net, Links and News, C#, Design Patterns
This post is going to explain how to implement the Singleton Pattern in .Net/C#. In most other programming languages/frameworks, global variables are allowed. In modern day programming this is extremely frowned upon, hence where this design pattern comes in handy: It provides a global object with only...
A pet project I’ve been working on (on and off, time permitting) has been in need of some serious refactoring, so I finally sat down to eliminate some redundancy, and work on some design pattern work. A common problem in software design is making sure base class implementation is always called from overrides...