Why string are called Immutable data Type
Answer / kirti
The memory representation of string is an Array of Characters, So on re-assigning the new array of Char is formed & the start address is changed . Thus keeping the Old string in Memory for Garbage Collector to be disposed.
Is This Answer Correct ? | 0 Yes | 0 No |
What are the ways to deploy an assembly?
When do you absolutely have to declare a class as abstract
How to bind table colum with gridview column?
what is .net?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
How do you convert a string into an integer in .NET
Which version of .net framework is installed?
what are partial classes?
12 Answers Digimaker, HP, N Tech, TCS,
what are the different stepts to create shared assemblies?
What is serialization in .NET? What are the ways to control serialization?
In which circumstances you used delegates?
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?