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
Explain the advantages of vb.net?
What is an assembly and its use?
How do you define a read only property in a class module?
Explain how does the xmlserializer work?
What is the difference between .dll extension and .exe extension files?
What are the advantages of vb.net and c#?
what is interface and when it is used?
What is the difference between compiler and interpreter?
Explain clr?
Explain how to store decimal data in .net?
How to connect crystal report in vb.net ?
What’s the difference between private and shared assembly?
difference between checkbox vs radiobutton??
What are jagged arrays ?
Explain nested classes?