how to get sum of two numbers in vb.net?
Answer Posted / shamseena
imports system.console
sub main()
a,b,c as integer
Console.WriteLine("Ente a:")
ReadLine()
Console.WriteLine("Enter b:")
ReadLine()
c=a+b
Console.WriteLine("The Result is:"+c)
End Sub
| Is This Answer Correct ? | 43 Yes | 23 No |
Post New Answer View All Answers
What is redim keyword and its use?
What is the class that allows an element to be accessed using unique key?
What is trace in vb.net?
What is a static variable?
Explain about branching logic control in vb.net?
Can you please explain the difference between thread and process?
Explain the advantage of option strict on?
Explain how to send xml file on server using http protocol?
Explain internal keyword in .net framework?
Name the tool which can convert visual basic old version to .net compatibility version?
Explain the use of new keyword?
What is the difference between system.applicationexception class and system.systemexception?
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.
Can you please explain the difference between c# and vb.net?
Explain the difference between an xml "fragment" and an xml "document."