<分区>
这是其中一个问题。基本上我卡住了。
Write a method that removes all occurrences of a string from another string:
[Test]
public void TestExercise12()
{
Programmeren2Tests.Chapter12Test.TestExercise12(Exercise12);
}
public static string Exercise12(string strToRemove, string str)
{
strToRemove.Replace("str", "x");
return str;
}
我在这里所做的显然没有用,但我不知道在哪里搜索如何执行此操作。