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...

How to swap two String values without using a
third variable?

Answer Posted / parthag

In C#, C sharp

string str1 = "First";
string str2 = "Second";
str1 = string.Concat(str1, str2);
str2 = str1.Replace(str2,"");
str1 = str1.Replace(str2,"");

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If u need any fake experience certificate in software side, contact me at: vikramyadhav@gmail.com

8271


What is dialog programming?

1990


what is the use MDM(Master Data Management)and meaning

2363


hi viewers, tell me,what is scripting and programming, define and difference...pls

1925


Find out the list of authorization objects which contains activity as a field? Thanks in advance.

2141


how to data grid use in data bind?

1954


details description on this mantis? who is founder of this mantis?

2073


sample code for data transfer between two r/2 systems and r/3 systems?

1899


Write a program to find factorial of a number using functions

1643


Diff between IF and where ?

2000


< No Frames > tag is used for

2657


what are other resources are needed for this mantis?

1897


how we can know the funcions available in a class recording java?

2185


how do u handle table control inbdc explain the process in steps iwant the answer in urgent please forward this even i know how to explain there

2157


how to get second highest salary from a employee table and how get a 5th highest salary from a employee table by using proc sql?

2312