VB.Net Identifiers

An identifier is a name used to identify a class, variables, functions, procedures, or any other user-defined item. The basic rules for naming classes in VB.Net are as follows:
  • A name should begin with a letter that could be followed by a sequence of letters, digits (0 - 9) or underscore. The first character in an identifier cannot be a digit or number.
  • It must not contain any special character, space or symbol like ? - +! @ # % ^ & * ( ) [ ] { } . ; : " ' / and \. However, an underscore ( _ ) can be used.
  • It should not be a reserved keyword.

0 comments: