Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arguments passed by Value & Reference????
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00613697
Message ID:
00613728
Views:
19
This message has been marked as the solution to the initial question of the thread.
Here's the quick and simple: when you pass by value, a copy of "thing" is placed on the stack and used by the routine that is being called. If the called routine makes a change, it is changing the copy. The change will not be seen by the caller.

When passing by reference, a pointer to the "thing" is passed to the called routine. If the called routine makes a change, it is changing the actual value and will be visible to the caller.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform