diff --git a/HoistingCrane/HoistingCrane/CollectionGenericObjects/ListGenericObjects.cs b/HoistingCrane/HoistingCrane/CollectionGenericObjects/ListGenericObjects.cs index f379030..26db41d 100644 --- a/HoistingCrane/HoistingCrane/CollectionGenericObjects/ListGenericObjects.cs +++ b/HoistingCrane/HoistingCrane/CollectionGenericObjects/ListGenericObjects.cs @@ -1,5 +1,6 @@ using System; using System.CodeDom.Compiler; +using System.Windows.Forms.VisualStyles; namespace HoistingCrane.CollectionGenericObjects { @@ -24,7 +25,6 @@ namespace HoistingCrane.CollectionGenericObjects { get { return list.Count; } } - public int SetMaxCount { set @@ -42,8 +42,6 @@ namespace HoistingCrane.CollectionGenericObjects if (position >= Count || position < 0) return null; return list[position]; } - - public int Insert(T obj) { // TODO проверка, что не превышено максимальное количество элементов diff --git a/HoistingCrane/HoistingCrane/CollectionGenericObjects/MassivGenericObjects.cs b/HoistingCrane/HoistingCrane/CollectionGenericObjects/MassivGenericObjects.cs index 8d32f37..cff3630 100644 --- a/HoistingCrane/HoistingCrane/CollectionGenericObjects/MassivGenericObjects.cs +++ b/HoistingCrane/HoistingCrane/CollectionGenericObjects/MassivGenericObjects.cs @@ -73,7 +73,6 @@ namespace HoistingCrane.CollectionGenericObjects } return -1; - } public T? Remove(int position)