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

Answer Posted / shamseena

imports system.console
sub main()
a,b,c as integer
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 ?    43 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to view an assembly?

675


Explain strong name in .net assembly?

616


Explain the difference between vb.net and c#, related to oops concepts?

576


Explain the difference between vb 6 and vb.net?

621


Explain about the ruby interface generator?

639






what is diffrence constructor and destructor in vb

629


Which classes a dll can contain?

616


What is intermediate langauge?

613


Explain the use of serialization and deserialization?

611


Explain clr?

649


Explain the services provided by common language infrastructure.

815


What are the types of generations in garbage collector?

619


What is the difference between static or dynamic assemblies?

642


How many ways the function can return values?

633


what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.

668