Question:What is the output of the following code?
class Test { static void Main() { string myString = “1 2 3 4 5” myString = Regex.Replace(myString, @"\s+", " "); System.Console.WriteLine(myString); }
A 12345
B 1 2 3 4 5
C 54321
D 5 4 3 2 1
+ AnswerB
+ Report