C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
4
Reply
What do you mean by Mutable in C#?
mukesh kumar
11y
2.5k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
In object-oriented, an immutable object is an object whose state cannot be modified after it is created. This is in contrast to a mutable object, which can be modified after it is created. From the StringBuilder Class documentation: The String object is immutable.
Subhashkumar Yadav
8y
1
Mutable : We can assign multiple values to mutable string and object state can be altered. Best example of Mutable is stringbuilder object can be used. We can multiple concatenation to mutable string. Mutable have very good flexibility to change object state, mutable string can generate long string. We can use given below namespace to use mutable string in c# using System.Text; //* namespace used to import string builder StringBuilder strLong = null; //* [Mutable String] example strLong.Append("Technology"); strLong.Append("Cloud");
Sagar Pardeshi
11y
0
read the answers for your question in the description of the below website . http://skillgun.com/question/3207/csharp/strings/what-is-the-difference-between-stringbuilder-and-string-in-c-
Palle Technologies
11y
0
Mutable means "can change".Mutable type, in C#, is a type of object whose data members, such as properties, data and fields, can be modified after its creation.Stringbuilder is example of this
Abhay Shanker
11y
0
Message