Work with "out" and "ref" keywords in C#
The out and ref keyword look quite similar in nature. Both parameters are used to return back some value to the caller of the function. But still there is a small but important difference between them. Both of the parameter type has been kept in the C# language for specific scenario.
Read: https://www.c-sharpcorner.com/UploadFile/1d42da/out-and-ref-keyword/
The out and ref keyword look quite similar in nature. Both parameters are used to return back some value to the caller of the function. But still there is a small but important difference between them. Both of the parameter type has been kept in the C# language for specific scenario.
Read: https://www.c-sharpcorner.com/UploadFile/1d42da/out-and-ref-keyword/