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
How do you retrieve the customized properties of a .net application from xml .config file?
What are jagged arrays ?
difference between control and component more than one differences
What are the different variables in vb.net?
Explain how the .net framework performs automatic memory management.
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
Which control is an example of an object in vb net?
Explain the difference between an xml "fragment" and an xml "document."
Explain the difference between import system.data.sqlclient and system.data.oledb?
What is the source code for display the picture in button click event?
Can you please explain the difference between thread and process?
What is option strict?
Explain the difference between dispose and finalize()?
What do you mean by Redim in VB.NET?
What are the difference between structure and class?