What does the term immutable mean?

Answers were Sorted based on User's Feedback



What does the term immutable mean?..

Answer / 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

What does the term immutable mean?..

Answer / vijay rana

immutable means we can not change the contents at run time,
example of immutable is String

Is This Answer Correct ?    6 Yes 1 No

What does the term immutable mean?..

Answer / chandu

Based on the performance, frequent modification to the immutable objects will leave more objects for the garbage collection. So this is a kind of performance issue.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?

0 Answers   Siebel,


What are delegate methods?

0 Answers  


What is mvc pattern in c#?

0 Answers  


How can I produce an assembly?

0 Answers  


What is the difference between string and string in c#?

0 Answers  






Describe an interface class?

0 Answers   Siebel,


What is data binding with example?

0 Answers  


What are tuples c#?

0 Answers  


What are the Types of compatabilities and explain them

0 Answers   DELL,


What is msil in c#?

0 Answers  


What are the benefits of using generics in c#?

0 Answers  


What is Delegate and what is it used for ?

0 Answers   NA,


Categories