public boolean equals(Object obj) {if (obj == null)return false;if (! getClass().equals(obj.getClass()))return false;return toString().equals(obj.toString());}

public override bool Equals(object obj){if (obj == null)return false;if (!GetType().Equals(obj.GetType()))return false;return ToString().Equals(obj.ToString(), StringComparison.Ordinal);}
