how to get sum of two numbers in vb.net?

Answer Posted / sudhakar

imports system.console
sub main()
a,b,c as integer
Console.WriteLine("Enter a")
ReadLine()
Console.WriteLine("Enter b")
ReadLine()
c=a*b
Console.WriteLine("The Result is:"+c)
End Sub

Is This Answer Correct ?    19 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate

1911


Explain what observations between vb.net and vc#.net?

558


What is the maximum size of the textbox?

534


Which is the tool which can convert visual basic old version to .net compatibility version?

529


Which is the base class for all the classes in .net framework?

562






Explain about jagged arrarys ?

503


Explain code security?

498


What is the main purpose of garbage collector?

504


Explain how to store decimal data in .net?

708


What is sorting in vb?

519


Name some different types of control?

531


What are the differences between server-side and client-side code?

533


Is vb.net a programming language?

534


Can you please explain the difference between c# and vb.net?

539


Explain jagged array in vb.net?

564