S
sklett
I know there aren't pointers in C#, well, there are but... you know...
I have a situation there I need to have a reference to string a and then
later, string b.
I hoped I could do something like;
<code>
string a;
string b;
string ref refStr = a;
// some code, then the switch
refStr = b;
</code>
This doesn't seem possible or at least syntactically I'm failing.
Any takers? Any ideas?
Thanks,
Steve
I have a situation there I need to have a reference to string a and then
later, string b.
I hoped I could do something like;
<code>
string a;
string b;
string ref refStr = a;
// some code, then the switch
refStr = b;
</code>
This doesn't seem possible or at least syntactically I'm failing.
Any takers? Any ideas?
Thanks,
Steve