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


Please Help Members By Posting Answers For Below Questions

How vb implements the disconnected architecture as like vb.net?

585


Name the class which allows an element to be accessed using unique key?

570


Can you please explain the difference between vb and vb.net?

460


How a base class method is hidden?

615


What is DLL HELL in VB.NET

614






What is the difference between datagrid and gridview?

515


What do you mean by serialization and deserialization and it's use.

604


What is option strict?

521


What is the differences between dataset.clone and dataset.copy?

638


How to view an assembly?

598


Define manifest?

541


Explain internal keyword in .net framework?

570


Explain the difference between vb 6 and vb.net?

541


What is an application domain? how they get created?

584


What are the different variables in vb.net?

520