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 |
About .NET Framework ?
Can a nested object be used in Serialization
What is GC (Garbage Collection) and how it works
What is the necessity for singning an assembly with a strong name?
Explain what languages does the .net framework support?
What is Area in ASP.Net MVC?
what is way of loading data in ef (entity framework)?
Explain Keep method in Tempdata in ASP.Net MVC?
How we can register the Area in ASP.Net MVC?
Can you handle all button click events at once in a form? Give coding.
What is the difference between a Struct and a Class
Explain two instances where routing is not implemented or required?