0 votes
in C Sharp by

Can you return multiple values from a function in C-Sharp?

1 Answer

0 votes
by

Yes! Using output parameters. A return statement can be used for returning only one value from a function. However, using output parameters, you can return two values from a function.

Related questions

0 votes
0 votes
asked Feb 16, 2020 in C Sharp by rahuljain1
+3 votes
asked Jul 28, 2019 in R Language by Aarav2017
...