Parameters of type ref: you must assign values when you pass into a method, and parameters of type out must not be assigned when they are passed in, but they must be assigned within the method. As the so-called ref has in and out, out without out must enter (must have value out)
The difference between ref and out parameters in C #
Guess you like
Origin blog.csdn.net/z3h0a5n8g8x9i9a2o3/article/details/8804179
Recommended
Ranking