Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
C#
1.9K+ articles
CSharp-method
701+ articles
CSharp-StringBuilder-Class
12 posts
Recent Articles
Popular Articles
How to create the StringBuilder in C#
Last Updated: 08 April 2019
StringBuilder() constructor is used to initialize a new instance of the StringBuilder class which will be empty and will have the default initial capacity. StringBuilder i...
read more
C#
CSharp-StringBuilder-Class
C# | Creating StringBuilder having specified capacity
Last Updated: 14 March 2019
StringBuilder(Int32) constructor is used to initialize a new instance of the StringBuilder class which will be empty and will have the specified initial capacity. StringBu...
read more
C#
CSharp-StringBuilder-Class
C# StringBuilder
Last Updated: 11 January 2025
StringBuilder is aDynamic Object. It doesn’t create a new object in the memory but dynamically expands the needed memory to accommodate the modified or new string.AStringo...
read more
C#
CSharp-string
Picked
CSharp-StringBuilder-Class
StringBuilder.ToString Method in C#
Last Updated: 29 January 2019
This method is used to converts the value of this instance to a String. A new String object is created and initialized to get the character sequence from this StringBuilde...
read more
C#
CSharp-method
CSharp-StringBuilder-Class
How to find the Capacity of a StringBuilder in C#
Last Updated: 26 September 2021
StringBuilder.Capacity Property is used to get or set the maximum number of characters that can be contained in the memory allocated by the current instance.Syntax: public...
read more
C#
CSharp-StringBuilder-Class
How to remove all characters from StringBuilder in C#
Last Updated: 28 January 2019
StringBuilder.Clear Method is used to remove all the characters from the current StringBuilder instance.Syntax:public System.Text.StringBuilder Clear ();It returns an Stri...
read more
C#
CSharp-method
CSharp-StringBuilder-Class
StringBuilder.CopyTo Method in C#
Last Updated: 28 January 2019
This method is used to copy the characters from a specified segment of this instance to a specified segment of a destination Char array.Syntax:public void CopyTo (int sour...
read more
C#
CSharp-method
CSharp-StringBuilder-Class
StringBuilder.EnsureCapacity() Method in C#
Last Updated: 28 January 2019
The EnsureCapacity(Int32) method of StringBuilder class helps us to ensures the capacity is at least equal to the specified value that is passed as the parameter to the me...
read more
C#
CSharp-method
CSharp-StringBuilder-Class
C# | Check if two StringBuilder objects are Equal
Last Updated: 03 May 2022
StringBuilder.Equals Method is used to check whether this instance is equal to a specified object.Syntax: public bool Equals (System.Text.StringBuilder sb); Here, sb is an...
read more
C#
CSharp-method
CSharp-StringBuilder-Class
How to find the MaxCapacity of a StringBuilder in C#
Last Updated: 28 January 2019
StringBuilder.MaxCapacity Property is used to get the maximum capacity of this instance.Syntax: public int MaxCapacity { get; }Property Value: It returns the maximum numbe...
read more
C#
CSharp-StringBuilder-Class
How to find the length of the StringBuilder in C#
Last Updated: 28 January 2019
StringBuilder.Length Property is used to get or set the length of the current StringBuilder object.Syntax: public int Length { get; set; }It returns the length of the curr...
read more
C#
CSharp-StringBuilder-Class
StringBuilder.Chars[] Property in C#
Last Updated: 28 January 2019
StringBuilder.Chars[Int32] Property is used to get or set the character at the specified character position in this instance.Syntax: public char this[int index] { get; se...
read more
C#
CSharp-StringBuilder-Class
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !