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
WriteLine("Ente a:")
a = ReadLine()
Console.WriteLine("Enter b:")
b = ReadLine()
c = a + b
WriteLine("The Result is:" & c)
ReadLine()
End Sub
End Module
| Is This Answer Correct ? | 14 Yes | 8 No |
Post New Answer View All Answers
What do you mean by option strict on?
What is the difference between Namespace and Assembly?
Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?
Name the tool which can convert visual basic old version to .net compatibility version?
Explain code security?
List the two main parts of .net?
How to create a constant in vb.net?
Explain about delegate?
What is writeline in vb.net?
What are the objects in asp.net?
What is the use of system.diagnostics.process class?
Explain about garbage collection?
Explain the difference between value and reference types?
Explain how to achieve polymorphism in vb.net?
Explain how can we remove handlers at run time?