Beispiel #1
0
        public static void GetCapacity(this ObjectStack stack)
        {
            int capacity = stack.Count();

            Console.WriteLine($"your free capacity is: {ObjectStack.maxSize - capacity}");
        }