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 managed code?
What are the different types of a stream?
What is the difference between static or dynamic assemblies?
What are the difference between dispose(), close(), exit(), end()? When do we use them?
Explain the difference between value and reference types?
What are the advantages of an assembly?
What is late binding and early binding?
Explain the difference between namespace and assembly?
What are the differences between vb.net and c#, related to oops concepts
Why do we use ansi keyword?
Explain how to achieve polymorphism in vb.net?
What are option strict and option explicit?
How to store decimal data in .net?
What is the difference between system.applicationexception class and system.systemexception?
Explain the services provided by common language infrastructure.