Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Identifiers

In Visual Basic, an IDENTIFIER is the name of something. That “something” could be any programming construct, including variables (myVar), constants (myCont), types (Int32), and methods (DoSomething).

The rules for identifiers are simple:

image

Put on Your Thinking Hat

image

Indicate whether the following identifiers are valid or not, and if not, why.

ReallyReallyLongName

My Name

1MoreIdentifier

Char

Name3



  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint