Can I create a function C# which has 2 arrays as input parameter and 2 as output?
A method can only have one return value; however, you can use out parameters to return multiple results.
void MyFunction(int[] input1, int[] input2, out int[] output1, out int[] output2)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With