A collection with a fixed size does not allow the addition or removal of elements after the collection is created, but it allows the modification of existing elements.
The following example demonstrates the implementation of the IList interface to create a simple list, fixed-size list. This code is part of a larger example for the IList interface.