how to get sum of two numbers in vb.net?
Answer Posted / kaviyarasu
Imports system.console
Module Module1
Sub main()
Dim a, b, c As Integer
Console.WriteLine("Ente a:")
a = ReadLine()
Console.WriteLine("Enter b:")
b = ReadLine()
c = a + b
Console.WriteLine("The Result is:" & c)
ReadLine()
End Sub
End Module
| Is This Answer Correct ? | 15 Yes | 12 No |
Post New Answer View All Answers
What is the difference between convert.tostring and .tostring() method?
When do you use virutal keyword?
What is the significance of delegates?
What are the various open source tool available for VB.NET?
What are the advantages of vb.net and c#?
Explain redim keyword?
What are jagged arrarys ?
What is the strong name in .net assembly?
What is the main purpose of garbage collector?
How to retrieve images in sql server database through vb.net?
Can you please explain the difference between int and int32?
What is portable executable?
What languages does the .net framework support?
What is the source code for display the picture in button click event?
List the types of generations in garbage collector?