Hi,
What does the term immutable mean ? ... and Why String is Immutable Type in .Net ?.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
MuthuMari MPosted Apr 25, 2012, 1:22 AM
The data value may not be changed.
Note: The variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory.
thanks.
If this post is useful then mark it as "Accepted Answer"
MuthuMari MPosted Apr 25, 2012, 1:18 AM
The data value may not be changed.
Note: The variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory.
thanks.
If this post is useful then mark it as "Accepted Answer"
SenthilkumarPosted Apr 25, 2012, 12:02 AM
Jignesh TrivediPosted Apr 25, 2012, 12:00 AM
In object-oriented and functional programming, an immutable object is an object whose state cannot be modified after it is created.
mutable object means object which can be modified after it is created.
Immutable objects are often useful because they are inherently thread-safe.
Please go through
http://stackoverflow.com/questions/2365272/why-net-string-is-immutable
hope this help.