// override object.Equals public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } Images i = (Images)obj; return(Large.EqualsExT(i.Large) && Common.EqualsExT(i.Common) && Medium.EqualsExT(i.Medium) && Small.EqualsExT(i.Small) && Grid.EqualsExT(i.Grid)); }