Group-10 LastNameF.P. LabWork06 Simple #7

Closed
eegov wants to merge 8 commits from LabWork06 into LabWork05
Showing only changes of commit e1a7ba4fd4 - Show all commits

View File

@ -26,7 +26,14 @@ public class MassiveGenericObjects<T> : ICollectionGenericObjects<T>
{
if (value > 0)
{
_collection = new T?[value];
if (_collection.Length > 0)
{
Array.Resize(ref _collection, value);
}
else
{
_collection = new T?[value];
}
}
}
}