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 the difference between datagrid and gridview?

521


Explain the services provided by common language infrastructure.

726


How do you call a stored procedure in Visual Basic?

587


What is the significance of delegates?

524


Name some of the features present in vb 2005?

576






Explain how can we remove handlers at run time?

555


Why is the xml infoset specification different from the xml dom?

530


Name some of the keywords used in vb.net?

606


What do you understand by vb.net?

617


Is vb.net dead?

529


Name and explain some of the exclusive features which are present in vb?

554


What is the purpose of objects present in asp.net?

578


What do you mean by serialization and deserialization?

550


What is the difference between compiler and interpreter?

550


Name a feature which is common to all .net languages?

584