1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Overview of Basic Concepts,Syntax and Code in VB.Net

Discussion in 'Visual Basic [VB]' started by persysweb, Jul 9, 2018.

  1. persysweb

    persysweb Member

    Joined:
    Aug 1, 2017
    Messages:
    98
    Likes Received:
    15
    Trophy Points:
    8
    Location:
    India
    Home Page:
    VB.Net is simple,object oriented programming language.
    VB.Net is very easy to Learn
    It is component oriented and object oriented.
    It is part of .Net Framework.

    Following are some of the components of the .Net framework:
    • Common Language Runtime (CLR)
    • The .Net Framework Class Library
    • Common Language Specification
    • Common Type System
    • Metadata and Assemblies
    • Windows Forms
    • ASP.Net and ASP.Net AJAX
    • ADO.Net
    • Windows Workflow Foundation (WF)
    • Windows Presentation Foundation
    • Windows Communication Foundation (WCF)
    • LINQ
    A VB.Net program basically consists of the following parts:
    • Namespace declaration
    • A class or module
    • One or more procedures
    • Variables
    • The Main procedure
    • Statements & Expressions
    • Comments
    Simple program of Hello World in VB.Net:
    Code:
     
    Imports System
    Module Module1
      Sub Main()
        Console.WriteLine("Hello World")
        Console.ReadKey()
      End Sub
    End Module
    
    When the above code is executed it displays the following error:
    Hello World
     

Share This Page