Beispiel #1
0
        public void Test_RingBuffer_WriteSome_ByRef()
        {
            var testRingBuffer = new RingBuffer <int>(10);

            for (var loop = 0; loop < 5; loop++)
            {
                ref var actRef = ref testRingBuffer.AddByRef();
                actRef = loop;
            }