Is string reference type / value type?

Answer Posted / kapil dalke

string is reference type . dont confuse yar..........
because String is immutable objects..........
means does not change the values(string).......

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

525


What does m mean in decimal c#?

504


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

536


What is the difference between yield and return?

474


How do I count the length of a string in c#?

515






What are "class access modifiers" in C#?

546


How many kinds of elements an array can have?

481


What is the use of properties window?

511


What is the purpose of a console table?

479


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.

1780


How does dependency injection work c#?

506


What is hashtable c#?

479


Define thread? Explain about multithreading?

576


Can we have static indexer in c#?

502


What is lazy keyword in c#?

534