UserDataSlot static class UserDataSlot Documentation Code using DotNext.Threading; namespace DotNext { internal static class UserDataSlot { private static long counter; internal static long NewId => ref counter.IncrementAndGet(); } }