Use of Out ref Parames (convert value passing to reference pass)
Out is typically used to return multiple values, and in the method body, the out variable is emptied, focusing on a method that has multiple returns that are worth using
Ref has a in-and-out, it can be in the method body must be assigned the initial value, focus on the method body external values to the method body calculation, and the results of the calculation to the outside of the method body.
Parames as the formal parameter, must be the left and last parameter in the formal parameter list, usage: GetC (string name,parames int[] score)
When calling this method, the parameters that are modified by Parames are passed to the same element as the int[] type, for example:
GetC ("hehe", 1) can also be GetC ("hehe", "one-of-a-kind") can also be GetC ("Xixi", an array of shaping);
You will know that there are more than one way to pass the Parames type parameter later.
The use of C # out ref Parames