0

String is a primitive datatype or reference?

21st Dec 2017, 11:43 AM
Deepak Udherani
Deepak Udherani - avatar
2 Answers
+ 2
String is reference type, it is easy to remember if keep in mind that you can cast string to char array
21st Dec 2017, 11:47 AM
Dima Makieiev
Dima Makieiev - avatar