Ref and Out in C DotNetTricks

26/04/2022 Language Classes

Price: Check with seller

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.

More Details

Comments

Copyright © 2008 - 2024 |   All Rights Reserved |   tuffclassified.com |   24x7 support |   Email us : info[at]tuffclassified.com