public override bool Equals(object obj) { ImageSample other = obj as ImageSample; return other != null && Src == other.Src; }