how to get sum of two numbers in vb.net?
Answer Posted / banshi
Sub Main()
Dim x, y As Integer
Console.Write("Enter value of x: ")
x = Console.ReadLine()
Console.Write("Enter value of y: ")
y = Console.ReadLine()
Console.Write("Sum x+y = ")
Console.WriteLine(x + y)
Console.ReadLine()
End Sub
Is This Answer Correct ? | 124 Yes | 34 No |
Post New Answer View All Answers
Explain about branching logic control in vb.net?
What is difference between import system.data.sqlclient,system.data.oledb?
What would you do to remove microsoft visual basic name space?
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
Explain the difference between system.string and system.stringbuilder classes?
What is sorting in vb?
What is portable executable?
What is the difference between convert.tostring and .tostring() method?
Explain the difference between import system.data.sqlclient and system.data.oledb?
What is private assembly?
Name some of the features of C# which are not present in VB.NET?
What is the difference between c# and vb.net?
When do you use virutal keyword?
What is a static class?
What is the diff between vb mdi form and .net mdi form?