Category: c#

Out Vs Ref

There are some basic differences in Out and Ref. Out : ┬áPassed by reference and it must be set by the called method, otherwise there will be compiler error. e.g. int x; […]