Why String is a reference type ?

 Posted by Bharathi Cherukuri on 8/27/2012 | Category: ASP.NET Interview questions | Views: 1240 | Points: 40

A String variable holds a reference to the object which contains each char in the string as the string types implement IEnumerable Interface. So, the strings are reference types.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response