What is the type of string a value type or a reference type?
ajay singh
string is a reference type. Int is value type. The value will stored as stack memory. String will store the value in Heap.
string is a object type
Refer this link: http://www.it-notebook.org/uncategorized/article/csharp_data_types.htm