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’s thread.sleep() in threading ?

515


What is verbatim literal in c#?

498


What is sealed class in c#?

528


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

1820


Explain about finalize method?

556






What is windows forms in c#?

477


Who is a accessibility modifier “protected internal” available to ?

605


What are concrete classes?

495


What is msil, and why should developers need an appreciation of it if at all?

583


What is the keyword used to prevent a class from being inherited by another class?

674


what class is underneath the sortedlist class?

555


What is the difference between static and private constructor?

480


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

2515


What is lazy in c#?

523


What is ienumerable and iqueryable?

512