Rohit bhatt's profile
Description
Ref and out parameters are used to pass an argument within a method. The ref keyword is used to pass an argument as a reference. This means that when value of that parameter is changed in the method, it gets reflected in the calling method. The out keyword is also used to pass an argument like ref keyword, but the argument can be passed without assigning any value to it.
Useful information