public bool Equals(ClassImplementingInterface other) { if (other == null) { return(false); } return(this.IntField == other.IntField && this.DoubleField == other.DoubleField); }
public static ClassWithAbstractMembers Create() { return(new ClassWithAbstractMembers { IntField = Utilities.GetRandom <int>(false), Rect = Rectangle.Create(), ASquare = AnotherSquare.Create(), Interface = ClassImplementingInterface.Create() }); }