public static Acceleration2D WithAcceleration(this Velocity2D velocity) { return(new Acceleration2D(velocity)); }
public Acceleration2D(Velocity2D velocity) { this.Velocity = velocity ?? throw new ArgumentException(nameof(velocity)); }