News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
StringBuilder sb = new StringBuilder(10);
sb.AppendFormat("1234567890123");
Console.WriteLine(sb.Capacity);
  1. 10

  2. 20

  3. Some value equal to or larger than 13

  4. Int32.MaxValue

Answer: Answer is b
Further Reading:

Number in parameter denotes the capacity. The capacity parameter defines the maximum number of characters that can be stored in the memory allocated by the current instance. If the number of characters to be stored in the current instance exceeds capacity value, the StringBuilder object allocates additional memory to store them. Useful resources, StringBuilder Class, StringBuilder Constructor

comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;