Skip to content

Instantly share code, notes, and snippets.

View dabbinavo's full-sized avatar

Christian Fischerauer dabbinavo

View GitHub Profile
@dabbinavo
dabbinavo / LifeTimeTest.cs
Last active March 17, 2023 09:35
How does c# Lifetime work?
using System.Diagnostics;
using System.Threading;
namespace LifeTimeTest;
public class LifeTimeTest
{
public LifeTimeTest()
{
//TestLifeTime(42); // Outputs 43 one time