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
How does vb.net achieve polymorphism?
Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?
What is the difference between readonly variable and constant variable?
Explain the difference between c# and vb.net?
Can you please explain the difference between vb and vb.net?
Explain the advantage of option strict on?
Explain global assembly cache (gac)?
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 public assembly?
What is portable executable?
Explain the difference between vb.net and c#, related to oops concepts?
What is the class that allows an element to be accessed using unique key?
What is the use of errorprovider control?
Explain convert.tostring and i.tostring method?
What are the parts of the visual basic control?