• +91 9723535972
  • info@interviewmaterial.com

DotNet Interview Questions and Answers

Question - Why string are called Immutable data Type ?

Answer -   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.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners