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

Explain the feature of c# language?

0 Answers  


What's the difference between System.String and System..StringBuilder in C#?

0 Answers   PUCIT,


Differentiate between static class and singleton instance?

0 Answers  


Can abstract class be sealed?

0 Answers  


What is dao in c#?

0 Answers  






Explain static class members.

0 Answers  


Which is better javascript or c#?

0 Answers  


Explain dataset.acceptchanges method in .net?

0 Answers  


Explain the accessibility modifier protected internal?

0 Answers  


Do while loops yes or no c#?

0 Answers  


How do I open the console?

0 Answers  


What are custom exceptions? Why do we need them?

0 Answers  


Categories