Skip to content

Instantly share code, notes, and snippets.

View jbrestan's full-sized avatar

Honza Brestan jbrestan

  • Czech Republic
  • 13:45 (UTC +01:00)
  • X @jbrestan
View GitHub Profile
@jbrestan
jbrestan / PureDI.cs
Last active January 20, 2020 10:44 — forked from davidfowl/PureDI.cs
Modified from: DI under the hood. This is what DI containers automate for you.
using System;
using System.Threading;
namespace PureDI
{
class Program
{
static void Main(string[] args)
{
// Create the singletons once