On Wed, Jan 2, 2013 at 3:24 AM, shilpa rakhunde
<[email protected]>wrote:

> hi............
> can any one tell m the C# code for swap the two strings without usings
> third variable?
> plz raply if any one know it....
> thankx...
>
> ------------------


Like this?

// ?: conditional operator.
classify = (input < 0) ? "negative" : "positive";



-- 
Stephen Russell
Sr. Analyst
Ring Container Technology
Oakland TN

901.246-0159 cell

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to