PIbd-14_Calimullin_A.R._Lab06_Simple #7

Closed
Bloody_Arthur wants to merge 5 commits from Lab06 into Lab05
Showing only changes of commit 4c06089549 - Show all commits

View File

@ -20,7 +20,7 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
{
get
{
return Count;
return _collection.Count;
}
set
{
@ -68,7 +68,7 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
public IEnumerable<T?> GetItems()
{
for (int i = 0; i < Count; ++i)
for (int i = 0; i < _collection.Count; ++i)
{
yield return _collection[i];
}