MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of given code snippet? static void Main(string[] args) { StringBuilder sb = new StringBuilder("hello world"); sb.Insert(6, "good"); Console.WriteLine(sb); Console.ReadLine(); } |
| A. | Hello 6world |
| B. | Hello good world |
| C. | Hello goodworld |
| D. | Hello good world |
| Answer» D. Hello good world | |