I use it to pass by reference. Can I overpass this too??
for ex:
void Change(ref string xy) { xy="hi";}
string x = "hello"
Change(ref x);
//now x= "hi"';
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 13 of 13
Thread: Pointers - UnsafeThreaded View
|
Click Here to Expand Forum to Full Width |