我写了一个函数,但这个函数仍然返回旧字符串而不是新字符串。当您对旧字符串进行操作时,我不知道如何返回新字符串
举例:
public string TestCode(string testString)
{
// Here something happens with the testString
//return testString; <-- i am returning still the same how can i return the new string //where something is happened with in the function above
}