Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to get sum of two numbers in vb.net?

Answer Posted / kaviyarasu

Imports system.console
Module Module1
Sub main()
Dim a, b, c As Integer
WriteLine("Ente a:")
a = ReadLine()
Console.WriteLine("Enter b:")
b = ReadLine()
c = a + b
WriteLine("The Result is:" & c)
ReadLine()
End Sub

End Module

Is This Answer Correct ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by option strict on?

1084


What is the difference between Namespace and Assembly?

1074


Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?

936


Name the tool which can convert visual basic old version to .net compatibility version?

997


Explain code security?

872


List the two main parts of .net?

1025


How to create a constant in vb.net?

1116


Explain about delegate?

849


What is writeline in vb.net?

902


What are the objects in asp.net?

1084


What is the use of system.diagnostics.process class?

1008


Explain about garbage collection?

954


Explain the difference between value and reference types?

845


Explain how to achieve polymorphism in vb.net?

906


Explain how can we remove handlers at run time?

963