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

Answer Posted / pavan kumar

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

Is This Answer Correct ?    22 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an arraylist?

685


What is the use of internal keyword?

658


Explain how can we remove handlers at run time?

619


What is the use of system.diagnostics.process class?

654


What is strong name in .net assembly?

623






What is the Advantage of vb.net over vb

653


What is a preprocessor directive in vb.net?

621


Explain about the performance of visual basic?

680


What is the top .net class that everything is derived from?

700


Tell us how many languages are supported by .net?

595


Explain clr?

649


What is econo-jit?

691


What keyword is used to accept a variable number of parameter in a method?

665


How to connect crystal report in vb.net ?

645


So you know which dll is used for microsoft .net run time?

612