how to get sum of two numbers in vb.net?
Answer Posted / aman
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 ? | 5 Yes | 8 No |
Post New Answer View All Answers
Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.
Explain the difference between datatable and dataset?
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 about visual basic?
What is the exact defination of object?
Explain about Visual basic.NET culture?
Explain i.tostring method?
What are the different types of Lock available in Visual Basic?
What languages does the .net framework support?
What is the difference between value and reference types?
What is deep copy?
Name the tool which can convert visual basic old version to .net compatibility version?
What is the difference between datagrid and gridview?
What are the advantages of migrating to vb.net?
What are option strict and option explicit?