How to swap two String values without using a
third variable?
Answer Posted / parthag
In C#
string str1 = "First";
string str2 = "Second";
str1 = string.Concat(str1, str2);
str2 = str1.Replace(str2,"");
str1 = str1.Replace(str2,"");
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is abstract Method i want the exact definition and is there any possibility to declare class as abstract without any abstract methods in that class?If it is possible then tell me why and how?
what is meant by life cycle of a business
Write a shell program where you enter a number which corresponds to K.M. Find out the corresponding values in m, cm, inches, and feet. Hints:- 1 k.m= 1000 m 1 m= 100 cm 1 inches= 2.54 cm. 1 feet= 12 inches
Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in
how to convert hashmap to arraylist with iteration
hai i am mca 2009 fresher.please tell me which certification helps me to get an IT job faster which institute is good in hyderabad.please mail me to prasanna.1856@rediff.com
5. How do you round the addition or subtraction of two numbers in assembler?
difference between mantis and other tools?
Tips for blog integration by www.esteemwebsolutions.com. Can Any body suggest me to how to make wonderful questions on web integration..
What do you understand by modular programming?
if 3 duplicate records, by keeping one original and one duplicate record, and how to delete remaining 2 duplicates in sql server 2008
Need provab technical test questions
what is throws keyword
Q1.Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user inputs a number out of the specified range, the program should show an error and prompt the user for a valid input.
what is the system development cycle