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

Answer Posted / pavan kumar

imports system.console
sub main()
a,b as integer
c as String
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 ?    22 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some different types of control?

531


Define serialization in .net?

639


Explain how can we remove handlers at run time?

551


What are the advantages of vb.net and c#?

640


source code for how to login a vb.net application ?

597






How do you retrieve the customized properties of a .net application from xml .config file?

519


what is common language specification?

517


What is difference between import system.data.sqlclient,system.data.oledb?

560


hello thank you for replying to my question regarding adding barcode fonts in vb.net project. I have downloaded a free font and added in my vb.net project but now i dont know how to use that i need to generate barcodes can any body help me how to use those fonts these are font3of9 .i need a small code to use these fonts to generate barcode thank u!

1574


What is the top .net class that everything is derived from?

616


What are the advantages of migrating to vb.net?

572


What is the difference between Namespace and Assembly?

581


What is a literal control?

579


What is pre-jit?

539


What are the shadow variables?

590