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
Explain code security?
What is option strict?
What is static member?
What is the difference between c# and vb.net?
What is the difference between value and reference types?
What is the feature anonymous type?
Tell me which namespace are used for accessing the data?
What is vb.net used for?
Explain about the performance of visual basic?
Name the tool which can convert visual basic old version to .net compatibility version?
What is the top .net class that everything is derived from?
What is writeline in vb.net?
Explain and brief about rapid application development tool?
Explain convert.tostring and i.tostring method?
Explain how the .net framework performs automatic memory management.