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
Name some different types of control?
What is the feature anonymous type?
Write a program to find all text files in a logical drive and return the count of the number of files?
How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?
Explain how can we remove handlers at run time?
Explain internal keyword in .net framework?
What is writeline in vb.net?
What are the different types of Lock available in Visual Basic?
How can we remove handlers at run time?
How to retrieve images in sql server database through vb.net?
What is the size of .net object?
What are the difference between dispose(), close(), exit(), end()?
Explain convert.tostring and i.tostring method?
what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.
Explain the difference between datatable and dataset?