示例#1
0
        /// <summary> Deletes an ID </summary>
        /// <param name="id"> the ID to remove </param>
        /// <returns> whether the id was successfully removed or not </returns>
        public bool DeleteID(int id)
        {
            int index = IDs.IndexOf(id);

            if (index < 0)
            {
                return(false);
            }
            DeleteIdAt(index);
            return(true);
        }