Mega Code Archive

 
Categories / C# / Development Class
 

Create StringBuilder class that starts with a specified capacity and can grow to a specified maximum

using System; using System.Text; public class App  {     static void Main()      {                  int capacity = 255;         int maxCapacity = 1024;         StringBuilder stringBuilder = new StringBuilder(capacity, maxCapacity);     } }