Can you please tell me what is the exact use of out parameter?
out
Related Question: What is the differen
In simple words pass any variable to the function by reference so that any changes made to that variable in side that function will be persistent when function returns from execution.