public Declare(Declare another) { if (another.Var != null) { var = (string)another.Var.Clone(); } }
public override bool Equals(object o) { if (o == null || GetType() != o.GetType()) { return false; } Declare other = new Declare((Declare)o); if (this.Var != null) { if (!this.Var.Equals(other.Var)) { return false; } } return true; }
public int AddDeclare(Declare item) { return declare.Add(item); }