Пример #1
0
        public void Add(Block block)
        {
            var index = Blocks.BinarySearch(block);

            if (index < 0)
            {
                index = ~index;
            }
            Blocks.Insert(index, block);

            Size += block.Size;
        }