Hi I am trying to pass the starting and ending addresses of a string to a function:
string read = "whatever";
string newstring = Change(ref read, ref read);
Trying to pass address of w and r for the string above to function Change
i want to do something like this:
private static void Change (ref int x, ref int y)
*x = "c";
or x = some other address location like read;
same for y,
*y = "c"
Is this possible in C#. Thank you very much ahead of time.