C
C#2y ago
AriieSiiS

return two values

I have this function that returns two values, and I want to use it in the main, but I don't know how to assign to each thing its corresponding value, any help?
3 Replies
cause77
cause772y ago
try var (posicion, contador) = Funciones.CantidadVeces(); also, always use english words in names of methods
AriieSiiS
AriieSiiSOP2y ago
ty! this is class work and we put it all in our own language (at least for now) but thanks for the advice
Want results from more Discord servers?
Add your server