public override bool Equals(object obj) { var anotherObject = obj as Language; return(Keywords.SequenceEqual(anotherObject.Keywords) && Delimiters.SequenceEqual(anotherObject.Delimiters) && AllowedSymbols.SequenceEqual(anotherObject.AllowedSymbols) && Digits.SequenceEqual(anotherObject.Digits) && ComplexDelimiters.SequenceEqual(anotherObject.ComplexDelimiters)); }