mukesh kumar
What do you mean by Mutable in C#?
By mukesh kumar in C# on Jan 03 2014
  • Subhashkumar Yadav
    Jan, 2017 16

    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.

    • 1
  • Sagar Pardeshi
    Jan, 2014 15

    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");

    • 0
  • Palle Technologies
    Jan, 2014 15

    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-

    • 0
  • Abhay Shanker
    Jan, 2014 14

    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

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS