JScript .NET, Part III: Classes and Namespaces: A Final Word - Doc JavaScript
JScript .NET, Part III: Classes and Namespaces
A Final Word
In this column we continued our coverage of JScript .NET. We focused here on one of the language's major features: classes. We explained how classes are organized into namespaces and provided an example of some of the namespaces supported by the .NET Framework. We showed you how to import
existing namespaces and how to create new namespaces with the package
statement. We described what assemblies are and how to direct the jsc.exe
compiler to the right assemblies, to find the required namespaces. We introduced the member visibility concept and its related modifiers: private
, public
, and protected
. We also explained the effect of the static
modifier.
In this column you have learned:
- How to tell a namespace from a class
- How to import namespaces
- How to package namespaces
- How to load assemblies
- How to specify member visibility
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: May 6, 2002
Revised: May 6, 2002
URL: https://www.webreference.com/js/column109/7.html