13
1
using System;
2
using System.Text;
3
4
public class Program
5
{
6
public static void Main()
7
{
8
StringBuilder sb = new StringBuilder("Hello World!!",50);
9
sb.Replace("World", "C#");
10
11
Console.WriteLine(sb);
12
}
13
}
Cached Result
Compilation error (line 1, col 1): A namespace cannot directly contain members such as fields or methods
Compilation error (line 3, col 19): Identifier expected
Compilation error (line 4, col 13): Identifier expected
Compilation error (line 7, col 13): Type or namespace definition, or end-of-file expected
Compilation error (line 3, col 19): Identifier expected
Compilation error (line 4, col 13): Identifier expected
Compilation error (line 7, col 13): Type or namespace definition, or end-of-file expected