I understand that a string is sent by value even though it is a reference type, but if my string was tens of MB in size and i wanted to send it as an argument.
should i send it by reference or value?
private int GetIndexOfNext(string String,int SearchStartIndex,char TargetChar)
Or
private int GetIndexOfNext(ref string String,int SearchStartIndex,char TargetChar)