how to get sum of two numbers in vb.net?
Answer Posted / ambar
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 ? | 10 Yes | 7 No |
Post New Answer View All Answers
thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net
What is vb.net used for?
Can you please explain the difference between dataset and datareader?
What are all the differences between dispose and finalize()?
What are the advantages of an assembly?
What is the exact defination of object?
Explain about the feature anonymous type?
What is jagged array in vb.net?
Is vb net a scripting language?
What are jagged arrays ?
List the different types of assembly?
What are the differences between c# and visual basic.net?
Explain the differences between vb.net and c#, related to oops concepts?
What is the difference between Namespace and Assembly?
Did vb6 support multi-threading ?