What are the basics of VB.NET?

1 answer

Answer

1038594

2026-03-27 10:20

+ Follow

here is a simple peice of code

Module Module1

Sub Main()

Dim a, b, c As Integer 'integer means number

Console.WriteLine("please enter two numbers") 'this displays text for the user

a = Console.ReadLine ' readline is when a user enters a number and hits enter

b = Console.ReadLine

Console.ReadLine()

c = a + b

Console.WriteLine(c)

Console.ReadLine()

End Sub

End Module

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.