Rays don’t have an end. They are a point in space and a direction.
If you know how many world units down the line you can always use .GetPoint()
What exactly are you trying to do? There are also other forms of raycasting, btw:
Raycasting, colliders, planes, Plane, etc: