4 ms·
I think the best thing we have is the new `record` feature. You can declare a small public record before the method with the return type, and by using the `var`
by Cojen 5y ago
I think the best thing we have is the new `record` feature. You can declare a small public record before the method with the return type, and by using the `var` keyword, the caller doesn't need to repeat the type declaration.