我已经写了一个函数,但是这个函数仍旧返回旧字符串而不是新字符串。我不知道如何当你做了与旧返回一个新值
东西例如返回一个新的字符串:
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
}
我相信你应该考虑发布实际的代码。目前还不清楚“测试串发生了什么”。 – 2013-03-05 09:07:35