how to get sum of two numbers in vb.net?
Answer Posted / rajesh
Sub main()
Dim a , b , c As Integer
System.Console.WriteLine("Enter a")
a = Console.ReadLine
System.Console.WriteLine("Enter b")
b = Console.ReadLine
c=a+b
System.Console.WriteLine("The value is")
MsgBox(c)
End sub
| Is This Answer Correct ? | 19 Yes | 11 No |
Post New Answer View All Answers
What is the difference between static or dynamic assemblies?
Explain the difference between vb 6 and vb.net?
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
When do you use virutal keyword?
How vb implements the disconnected architecture as like vb.net?
Explain the observations between vb.net and vc#.net?
Explain the difference between namespace and assembly?
Explain the components of common language runtime.
What is the difference between manifest and metadata?
What is the use of console application?
Explain about the ruby interface generator?
What is the class that allows an element to be accessed using unique key?
Why do we use byref keyword in vb.net?
What is the feature which is common to all .net languages?
What are the two main parts of .net?