what is difference between ref and out parameters

By Super Man

what is the difference between ref and out parameters

an argument passed to ref parameter must be initialized

out argument does not have to be explicitly initialized.

what is difference between ref and out parameters  (1062 Views)