When we pass string to a function - does C# create copy of the original string or it sends refrence to the original one?
As I know, it sends refrence to the original string - but if so - why we need the 'ref' keyword?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 26
Thread: function's parametersThreaded View
|
Click Here to Expand Forum to Full Width |