Is string reference type / value type?

Answer Posted / k.hemalatha

string is a reference type but behave likes value type.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is primitive types in c#?

666


What is the difference between struct and class in c#?

789


What is use of list in c#?

644


what is IComparable

801


Is c# good for beginners?

684


List out the differences between array and arraylist in c#?

736


What is yield return in c#?

736


Are objects passed by reference in c#?

761


Is c# good for web development?

764


Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

707


What is session c#?

720


What is extension method in c sharp?

704


What is the use of nullable types in c#?

739


What is a multicast c# delegate?

747


What are boxing and unboxing?

732