What does the term immutable mean?

Answer Posted / eng.sakr saudi

it means that this object can't be changed.
but if you want another value to the same object another
instance of the object is created and leave the current
instance unchanged.
an example of immutable is STRING.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are c# attributes and its significance?

696


How do I create a multilanguage, single-file assembly?

682


What is the use of properties window?

692


Can multiple inheritance implemented in c# ?

683


Explain the difference between a namespace and assembly name in .net?

686






What are strongly typed objects?

667


Can class inherit from struct c#?

713


How does split work in c#?

653


What is the difference between string keyword and system.string class?

698


Explain hash table in c# ?

832


Can I get the name of a type at runtime?

728


What is the use of constructor in c# with example?

606


What is difference between struct and class in c#?

658


What is the difference between iqueryable and ienumerable?

668


Where do we set the min and max pool size for connection pooling?

700