Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Is string reference type / value type?

Answers were Sorted based on User's Feedback



Is string reference type / value type?..

Answer / lithi

String is Reference Type

Is This Answer Correct ?    1 Yes 0 No

Is string reference type / value type?..

Answer / vamsi

string is reference type only...

Is This Answer Correct ?    1 Yes 0 No

Is string reference type / value type?..

Answer / gomti

please visit http://msdn.microsoft.com/en-
us/library/ms228362.aspx

Is This Answer Correct ?    1 Yes 1 No

Is string reference type / value type?..

Answer / malli

String Is Reference Type Ex

string StrName1 = "Test";
string StrName2 = StrName1;
StrName2="Test1";
Console.WriteLine("StrName1="+StrName1);
Console.WriteLine("StrName1=" + StrName2);

Object objStrName1 = "Test";
Object objStrName2 = objStrName1;
objStrName2 = objStrName1;
objStrName2 = "Test1";
Console.WriteLine("objStrName1=" + objStrName1);
Console.WriteLine("objStrName2=" + objStrName2);
Console.WriteLine("Malli");

OutePut:-

StrName1=Test
StrName1=Test1
objStrName1=Test
objStrName2=Test1

No More Discusion...

Is This Answer Correct ?    1 Yes 1 No

Is string reference type / value type?..

Answer / baranee

Sorry guys bit of careless ..In the previous post I have
made a mistake string is a reference type not a value type.

Again, String is a reference type.

Is This Answer Correct ?    1 Yes 1 No

Is string reference type / value type?..

Answer / naim

string is reference type, Please visit follwing link

http://msdn.microsoft.com/en-us/library/362314fe(VS.80).aspx

Is This Answer Correct ?    0 Yes 0 No

Is string reference type / value type?..

Answer / hari

String is a reference type.

Is This Answer Correct ?    0 Yes 0 No

Is string reference type / value type?..

Answer / sumesh s.g

Any one can give pakka anser with perfect example...

Is This Answer Correct ?    0 Yes 0 No

Is string reference type / value type?..

Answer / shweta

100% String is Reference Type.

Value Type- All Numeric data types, Boolean, Char, Date,
Structs.

Reference Type- String, Arrays, Class, Delegates.

Is This Answer Correct ?    0 Yes 0 No

Is string reference type / value type?..

Answer / habitat

If you dont know anything - dont confuse others!!!
String is 100 % value type!!!!

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Sharp Interview Questions

what class is underneath the sortedlist class?

0 Answers   Siebel Systems,


What is short in c#?

0 Answers  


What are the advantages of constructor?

0 Answers  


Is datetime a value type in c#?

0 Answers  


what is a constructor? What is a destructor?

0 Answers  


Please explain the basic string operations used in c#?

0 Answers  


Explain ACID rule of thumb for transactions.

3 Answers  


What is firstordefault c#?

0 Answers  


Hello Friends..am Mohammed riyash..final year BCA in Jamal Mohamed College 2009. Trichy. My doubt is while connecting SQL2005 Built in Database withing the Visual Studio 2005 Framework.. I am getting the error.. That " An Error occurred and it may be due to , under the default settings of the Server, the connection cannot be established.." But the code works in MS Access for me.. Both in VB.Net and C#.Net am getting the same error.. Any genius please Message me to 9994558822 or mail me.. riyash.ips@gmail.com

3 Answers  


Explain the three test cases in unit testing?

0 Answers   Siebel,


You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?

0 Answers  


How does c# generics and c++ templates compare?

0 Answers  


Categories