Is string reference type / value type ?

Answer Posted / avisek

string is referrence type....
bcz there is no limitations of string means it can have variable length......thats why str[0],str[1],
string stores only the referrence to the value stored in it....

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain the nature of the assembly work?

2097


What is lambda expression in c#?

505


Why do we need interface in c#?

498


what is partial assembly reference

509


What are c# i/o classes?

567






What is out int in c#?

478


What is a byte in c#?

553


Explain About remoting and web services. Difference between them

536


What's the difference between a method and a procedure?

479


What is the value which is accepted by all data types ?

517


What is an escape sequence?

512


Is it possible to have different access modifiers on the get/set methods of a property in c#?

598


What is use of private class in c#?

507


Which property of the textbox cannot be changed at runtime?

477


Can you explicitly call a destructor?

530