MCQs>IT & Programming>DotNet Using C#>What output will be generated by the following code? StringBuilder sb = new StringBuilder(10); sb.AppendFormat('1234567890123'); Console.WriteLine(sb.Capacity);
DotNet Using C# MCQs
What output will be generated by the following code? StringBuilder sb = new StringBuilder(10); sb.AppendFormat("1234567890123"); Console.WriteLine(sb.Capacity);
Answer
Correct Answer: 20
Explanation:
Note: This Question is unanswered, help us to find answer for this one