This is one of the questions. Basically im stuck.
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;
}
What I did here obviously didn't work, but I have no idea where to search on how to do this.