Which are the reserved keyword in Vb.net programming? the beginners must know it. There are some words in each programming languages which are kept as reserve for that particular language and programmers are not advised to use such key word in naming the database field or a variables. if it is used then it will create problems in compiling and will give error message.
The following are some words which are reserved in VB.Net programming language and one can avoid using these word in naming the variables or database fields.
Catch
|
AddHandler
|
Cint
|
AddressOf
|
Cbool
|
Alias
|
Class
|
And
|
CByte
|
AndAlso
|
CLng
|
Ansi
|
CChar
|
As
|
CObj
|
Assembly
|
Cdate
|
Auto
|
Const
|
Boolean
|
CDbl
|
ByRef
|
CShort
|
Byte
|
CDec
|
ByVal
|
CSng
|
Call
|
Char
|
Case
|
Cstr
|
Ctype
|
Date
|
Decimal
|
Declare
|
Default
|
Delegate
|
Dim
|
DirectCast
|
Do
|
Double
|
Each
|
Else
|
ElseIf
|
End
|
EndIf
|
Enum
|
Erase
|
Error
|
Event
|
Exit
|
False
|
Finally
|
For
|
Friend
|
Function
|
Get
|
GetType
|
GoSub
|
Goto
|
Handles
|
If
|
Implements
|
Imports
|
In
|
Inherits
|
Integer
|
Interface
|
Is
|
Let Lib
|
Like
|
Long
|
Loop
|
Me
|
Mod
|
Module
|
MustInherit
|
MustOveride
|
MyBase
|
MyClass
|
Namespace
|
New
|
Next
|
Not
|
Nothing
|
NotInheritable
|
NotOverridable
|
Object
|
On
|
Option
|
Optional
|
Or
|
OrElse
|
Overloads
|
Overridable
|
Overrides
|
ParamArray
|
Preserve
|
Private
|
Property
|
Preotected
|
Public
|
RaisEvent
|
ReadOnly
|
ReDim
|
Rem
|
RemoveHandler
|
Resume
|
Return
|
Select
|
Set
|
Shadows
|
Shared
|
Short
|
Single
|
Static
|
Step
|
Stop
|
Strin
|
Structure
|
Sub
|
SyncLock
|
Then
|
Throw
|
To
|
True
|
Try
|
TypeOf
|
Unicode
|
Until
|
Variant
|
Wend
|
When
|
While
|
With
|
WithEvents
|
WriteOnly
|
Xor
|
#Else
|
#Elself
|
#End
|
#If
|
-
|
&
|
&=
|
*
|
*=
|
/=
|
\
|
/
|
\=
|
^
|
^=
|
+
|
+=
|
=
|
-=
|
No comments:
Post a Comment