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

write a VB.net program to swap two numbers

Answer Posted / biswasmit lenka

Private sub command1_click()
dim a,b,c as integer
a=Val(Text1.Text)
b=Val(Text1.Text)
c=a
a=b
b=c
Text1.text=b
text2.text=a
End sub
Private sub command2_click
end
End sub

Is This Answer Correct ?    38 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of VB.NET?

949


What is intermediate langauge?

911


What is public assembly?

929


What is a static class?

964


Why do we use byref keyword in vb.net?

997


Explain about garbage collection?

940


What is the feature anonymous type?

865


Define cls?

969


Explain an assembly?

911


Explain the use of console application?

917


What is the main use of a namespace?

925


Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?

2290


Explain about the ruby interface generator?

932


Explain the services provided by common language infrastructure.

1130


What is writeline in vb.net?

892