Can't I do this?
It says, Invalid expression term ')', etc... Thanks in advance!Code:public void AddAttribute(Attribute a) { if (a == null) throw new NullReferenceException(); if (a is this.CreateAttribute().GetType()) throw new InvalidAttributeException(); attributes.Add(a); }


Reply With Quote
