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

How to raise an selection changed event associated with listbox in datagridview control with a sample example?Here the listbox is a child control associated with datagridview control.

3 Answers  


What is an escape sequence? Name some string escape sequences in c#.

0 Answers  


Which of the following operations can you not perform on an ado.net dataset?

0 Answers  


What is public void in c#?

0 Answers  


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

0 Answers  






What is semaphore in c#?

0 Answers  


Is array reference type / value type?

15 Answers   Accenture,


What are the types of class in c#?

0 Answers  


What is the difference between parse and tryparse in c#?

0 Answers  


What is the difference between the debug class and trace class? Documentation looks the same.

0 Answers  


How do I create a multilanguage?

0 Answers  


What is a console file?

0 Answers  


Categories