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
Which classes a dll can contain?
Name and explain some of the exclusive features which are present in vb?
How many ways the function can return values?
What is the difference between static or dynamic assemblies?
how many server control present in .net
What is the top .net class that everything is derived from?
What are the features of c# which are not present in vb.net?
What is jagged array in vb.net?
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
Name some different types of control?
How to create a constant in vb.net?
Explain an assembly and its use?
What is the purpose of an Assembly?
How to connect crystal report in vb.net ?
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate