April 25, 2002 - JScript .NET's Namespaces and Packages | WebReference

April 25, 2002 - JScript .NET's Namespaces and Packages

Yehuda Shiran April 25, 2002
JScript .NET's Namespaces and Packages
Tips: April 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

Namespaces are also new in JScript .NET. Namespaces prevent naming conflicts by organizing classes, interfaces, and methods into hierarchies. You can define your own namespaces in JScript .NET. You can also access any .NET Framework namespace with JScript .NET. The package statement is also new in JScript .NET. It enables packaging of related classes for easy deployment and for avoiding naming collisions.

To learn more on JScript .NET, go to Column 107, JScript .NET, Part I: The Mechanics.