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 sealed class?
Explain about garbage collection?
Using VB, how can you change the Mouse Pointer?
Explain the difference between datatable and dataset?
What is the feature anonymous type?
What is the difference between custom control and user control?
Explain about the keyword must inherit?
Why do you need Lock in Visual Basic?
What is the significance of delegates. Where should they be used? What are the situations where we require them?
What are the advantages of VB.NET?
What is writeline in vb.net?
difference between control and component more than one differences
Explain about the feature anonymous type?
What’s the difference between private and shared assembly?
How can we remove handlers at run time?