how to get sum of two numbers in vb.net?
Answer Posted / rajesh
Sub main()
Dim a , b , c As Integer
System.Console.WriteLine("Enter a")
a = Console.ReadLine
System.Console.WriteLine("Enter b")
b = Console.ReadLine
c=a+b
System.Console.WriteLine("The value is")
MsgBox(c)
End sub
| Is This Answer Correct ? | 19 Yes | 11 No |
Post New Answer View All Answers
Write a VB.Net console program to check whether a number is perfect or not.
What is writeline in vb.net?
What is an arraylist?
Explain what observations between vb.net and vc#.net?
What do you mean by deserialization?
How many classes a dll can contain?
What is the difference between value and reference types?
What is the difference between datagrid and gridview?
Explain the difference between an xml "fragment" and an xml "document."
Name the tool which can convert visual basic old version to .net compatibility version?
What is pre-jit?
Explain the difference between thread and process?
Explain how to achieve polymorphism in vb.net?
What are the advantages of an assembly?
Describe about visual basic.net?