title: What is the difference between capacity and maxCapacity in StringBuilder constructor?
body: <p>There is a <strong>constructor</strong> in <strong>StringBuilder</strong> class (int32, int32). You see there are two parameters <strong>capacity</strong> and <strong>maxCapacity</strong> respectively. </p>
  
  <p>I have tried to search the difference between capacity and maxCapacity in StringBuilder constructor. But, I didn't get anything to understand that constructor. I have found documentation on <a href="http://msdn.microsoft.com/en-us/library/hbb08bby%28v=vs.110%29.aspx">msdn</a>. Still, I don't understand why it is required and what is the use of these parameters. Some question still in my mind that where should I use this constructor? And does it help to improve my application's performance?</p>