Chapter 3 Quick Reference


Chapter 3 Quick Reference

To

Do this

Example

Declare a variable

Use the Dim keyword, along with the desired data type.

Dim MyInt As Integer

Modify the accessibility of a variable or procedure

Use the Public, Private,Friend, or Protected keywords.

Public Sub MySub() End Sub

Use structured exception handling

Create a Try…Catch…Finally block.

Inherit from a base class

Use the Inherits keyword.

Class Dog Inherits Animal End Class




Microsoft ASP. NET Programming with Microsoft Visual Basic. NET Version 2003 Step by Step
Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step By Step
ISBN: 0735619344
EAN: 2147483647
Year: 2005
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net