Example #1
0
        public override bool Equals(object obj)
        {
            AElementAlfabet objPart = obj as AElementAlfabet;

            if (objPart._nume == _nume)
            {
                return(true);
            }

            return(false);
        }
        public bool Contine(AElementAlfabet element)
        {
            var elemente = (from i in _partea_dreapta
                            where i._nume == element._nume
                            select i).ToList();

            if (elemente.Count != 0)
            {
                return(true);
            }
            return(false);
        }
 public void AdaugaRegula(AElementAlfabet element)
 {
     _partea_dreapta.Add(element);
 }