Пример #1
0
        //
        // Remove
        //

        /// <summary>
        ///
        /// </summary>
        /// <param name="c"></param>
        /// <param name="e"></param>
        /// <returns></returns>
        public static bool Remove(IExtendedCollection c, object e)
        {
            if (e == null || !c.Contains(e))
            {
                return(false);
            }
            return(c.Remove(e));
        }
Пример #2
0
 public static bool Remove(IExtendedCollection c, object e)
 {
     return(((e != null) && c.Contains(e)) && c.Remove(e));
 }
Пример #3
0
 public static bool Remove(IExtendedCollection c, object e)
 {
     return (((e != null) && c.Contains(e)) && c.Remove(e));
 }