/// <summary> /// The method deleting elements from the collection. /// </summary> /// <param name="item"> The element to be deleted. </param> public void Remove(LabelItem item) { List.Remove(item); }
/// <summary> /// The method adding elements to the collection. /// </summary> /// <param name="item">Ýëåìåíò äëÿ äîáàâëåíèÿ.</param> /// <returns>returnes the index of the added element.</returns> public int Add(LabelItem item) { return(List.Add(item)); }