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
1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?
I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...
5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above
Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in
details description on this mantis? who is founder of this mantis?
What binary value will be internally stored for NULL for the type S9(1) COMP 3 in mainframe
Why did you ever become involved in QA/testing?
I'm new to ABAP. What is Module pool in SAP?
i want to insert textbox value to sql db. i have only one text box but store four values. ple give any one give sample code in asp.net c#..
What is easiest way to get the PL/i compiler,I didn't have found the compiler in my library. Is there any extra cost if we want to access the PL/1 programs?Actually we r having Mainframe rented training Ids
3 members in a pf.how we read 3 members without using ovrdbf.using rg pgms....
in teradata level primary in table level allows duplicates why?
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming
what is the difference between SCAN AND CHECK,LOKUP AND XFOOT? where we can use thease opcodes? Can any body tell me real time senariao with example?
what will we require to build project with the help of oracle