Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
GfG 160: Daily DSA
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
Web Technologies
38.9k+ articles
DSA
22.5k+ articles
Python
20.5k+ articles
Experiences
16.5k+ articles
Interview Experiences
14.1k+ articles
JavaScript
11.7k+ articles
School Learning
11.3k+ articles
C#
1.9k+ articles
CSharp-method
680+ articles
CSharp-string
58 articles
CSharp-StringBuilder-Class
12 posts
Popular Articles
Recent 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 in
...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 speci
...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 th
...read more
C#
CSharp-string
Picked
CSharp-StringBuilder-Class
Similar Topics
Web Technologies
38.9k+ articles
DSA
22.5k+ articles
Python
20.5k+ articles
Experiences
16.5k+ articles
Interview Experiences
14.1k+ articles
JavaScript
11.7k+ articles
School Learning
11.3k+ articles
C#
1.9k+ articles
CSharp-method
680+ articles
CSharp-string
58+ articles
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
...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
...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.StringBuil
...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.Synt
...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 pa
...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.St
...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 Valu
...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
...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
...read more
C#
CSharp-StringBuilder-Class
1
1
1
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 !