Skip to content
geeksforgeeks
  • 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
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
Web Technologies
39.4k+ articles
DSA
22.4k+ articles
Python
20.2k+ articles
Experiences
17k+ articles
Interview Experiences
13.8k+ articles
JavaScript
11.6k+ articles
School Learning
11.6k+ articles
C#
1.8k+ articles
CSharp-method
680+ articles
CSharp-string
57 articles

CSharp-StringBuilder-Class

12 posts
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
image
C#
CSharp-string
Picked
CSharp-StringBuilder-Class
Similar Topics
Web Technologies
39.4k+ articles
DSA
22.4k+ articles
Python
20.2k+ articles
Experiences
17k+ articles
Interview Experiences
13.8k+ articles
JavaScript
11.6k+ articles
School Learning
11.6k+ articles
C#
1.8k+ articles
CSharp-method
680+ articles
CSharp-string
57+ 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
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
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
Lightbox