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 values between two variables without using a
third variable?

Answer Posted / adil

string a = "adil ahmad", b = "anuj gupta";
a = a + b;
b = a.Substring(0, a.Length - b.Length);
a = a.Substring(b.Length, a.Length - b.Length)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is buffer size and file block size is similar? If similar,at which case it will be same size?

2182


How to set on/off a group of indicators in a single statement?

1853


What is BASIS

2181


Is anyone has done the ASP.NET MVC4 workshop course(2 days) from Peers Technologies. Let me know. I need to talk before joining ASP.NET MVC4 training at peers, Hyderabad.

1988


in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'

2239


What is diffrent between Method and and function in c#

2013


You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)

1090


what is the diffrence between software and hardware language?

2335


In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..

1466


Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe

1869


how does database connection using ADO.NET?

2051


How do i find out the number of parameters passed into function?

2662


How does the TCP handle the issue of multiplexing?

2890


what is the difference between an OS(operating system) and Framework?

1996


Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming

11968