Builder pattern, multiple return types

Need some help with a builder pattern, i need it to have to return types as seen in the image but i don;t know how to properly return it?
1 Reply
Thinker
Thinker12mo ago
You probably want
var move = new MoveBuilder(1, 0 1);
return (move.GetPosition(), move.GetLinePosition());
var move = new MoveBuilder(1, 0 1);
return (move.GetPosition(), move.GetLinePosition());
?
Want results from more Discord servers?
Add your server