Wednesday 27 November 2013

VB.NET Fundamentals

 

 
Introduction to Visual Basic

 

image

 

 

 

image

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

Variables

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

image

 

 

 

image

 

 

image

 

 

Infer Data Type

 

image

 

 

 

To split the Long line we could use “_” character

 

image

 

 

 

image

 

 

 

image

 

 

 

C# Value Types

image

 

 

 

image

 

 

 

Operators

 

image

 

 

 

Arrays

 

image

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Enumerations

 

image

 

 

 

image

 

 

 

Flow Control and Exceptions

image

 

 

 

IF Statements

 

image

 

 

 

image

 

 

 

image

 

 

image

 

 

 

Case Statements

 

image

 

 

 

image

 

 

 

For and While Loops

 

image

 

 

 

image

 

 

 

Skip the Loop with Continue

 

image

 

 

 

image

 

 

For Each Loop

 

image

 

 

 

image

 

 

 

Procedures

 

image

 

 

Subroutine

 

image

 

 

 

Function

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Exceptions Handling

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Classes and Objects

 

image

 

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

 

Properties

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Methods

image

 

 

 

image

 

 

 

Constructors

image

 

 

 

image

 

 

 

image

 

 

 

Types and Assemblies

 

image

 

 

 

image

 

 

image

 

 

image

 

 

Scope of the Variables

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Parameter Passing

There are four scenarios in parameter passing of VB.NET.  Default parameter passing mechanism is ByVal.

 

Passing Value type to Value type

 

image

 

 

 

image

 

 

 

Passing Ref. Type to ByVal parameter

 

image

 

 

Both caller and callee are distinct

image

 

 

image

 

 

 

Passing Value type to Reference type variable

 

image

 

 

 

Passing Ref. Type to Ref.

 

image

 

 

image

 

 

 

image

 

 

Type Conversions

There are two type of type conversion widening(No Data Lose) and narrowing(Data Lose).

 

Widening:

image

 

 

 

image

 

 

image

 

 

image

 

 

 

image

 

 

 

To set this option for entire project

image

 

 

 

image

 

 

 

Explicit Conversion methods

image

 

 

Conversion with Framework Class library functions

image

 

 

 

 

Parsing from string to integer

 

image

 

 

 

image

 

 

 

 

Assemblies, References and Namespaces

 

Assembly

 

 

image

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Namespace notation

 

image

 

 

image

 

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Inheritance and Interfaces

 

image

 

 

 

Example of code before Inheritance

 

image

 

 

 

 

image

 

 

 

image

 

 

Example of code after inheritance

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

 

 

image

 

 

 

image

 

 

 

Abstract Classes and members

 

Example of Having base class which is not Abstract class

image

 

 

image

 

Note:  Consumers can easily create instance of base class which will give error during execution

 

 

Making class as Abstract Class with Must Inherit keyword

 

image

 

 

image

 

 

 

Making Abstract method with Must Override keyword

 

image

 

 

image

 

 

image

 

 

 

image

 

 

 

 

Virtual Members

 

image

 

 

image

 

 

image

 

 

 

image

 

 

 

Constructors

 

image

 

 

 

image

 

 

 

 

image

 

 

 

 

image

 

 

 

Interfaces

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

 

Visual Basic and the CLR

 

image

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Garbage Collection

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

Threading

 

image

 

 

 

image

 

 

 

image

 

 

 

COM Interop

image

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

 

Please refer below URL for details information about VB.NET

http://www.tutorialspoint.com/vb.net/vb.net_operators.htm

 

 

 

 

 

Blogger Labels: Fundamentals,Introduction,Visual,Basic,Variables,Infer,Data,Type,Long,Value,Types,Operators,Arrays,Enumerations,Control,Exceptions,Statements,Case,Loops,Skip,Loop,Continue,Procedures,Subroutine,Function,Classes,Objects,Properties,Methods,Constructors,Assemblies,Scope,Parameter,scenarios,Default,mechanism,Both,caller,Reference,Conversions,conversion,Lose,option,Explicit,Framework,Class,library,integer,References,Namespaces,Namespace,notation,Inheritance,Interfaces,Example,Abstract,Note,Consumers,instance,error,execution,Inherit,method,Override,Virtual,Members,Garbage,Collection,Interop,keyword

No comments:

Post a Comment