Nguyễn Cap Tuyến
New member
What will be the output of the following C# code snippet?
A. hello 6world
B. hello good world
C. hello goodworld
D. hello good world
Code:
static void Main(string[] args)
{
StringBuilder sb = new StringBuilder("hello world");
sb.Insert(6, "good");
Console.WriteLine(sb);
Console.ReadLine();
}
B. hello good world
C. hello goodworld
D. hello good world