Why String is a reference type ?
Interview question and answer by: Bharathi Cherukuri
| Posted on: 8/27/2012 | Category: ASP.NET Interview questions
| Views: 461 | | 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.
| Alert Moderator
Found interesting? Add this to: