Custom Attributes and Generics support in Visual J# .NET 2005

J# is an imperative language, but like most imperative languages it does have some declarative elements. For example, the accessibility of a method is specified by declaring it public, protected, etc. “Custom attributes” generalizes this capability, so that programmers can invent new kinds of declarative information, attach this declarative information to various program entities, and…

0

Type-Safe enumerations in Visual J# .NET 2005

An enumeration type defines a type name for a related group of symbolic constants. Enumerations are used for “multiple choice” scenarios, in which a runtime decision is made from a fixed number of choices that are known at compile-time. The use of enumerations is superior to the use of integer constants (or classes with static…

0

Value Types and Passing Method Params by Ref in Visual J# .NET 2005

A value type is similar to a class in that both represent an aggregate that can contain data members and function members. However there are a few key differences: (1) unlike classes, instances of value types do not require heap allocation (2) a variable of a value type directly contains the data of the type,…

0

CLS Compliance checking in Visual J# .NET 2005

In Visual J# .NET 2005, the compiler does automatic CLS Compliance checking. This is especially useful when developers want to write libraries usable from multiple languages. The CLS rules standardize things such as data types and how objects are exposed and interoperate. For a framework to be usable from multiple languages it is essential that it…

2

What’s new in Visual J# .NET 2005

Welcome to the world of Visual J# .NET 2005 and Visual Studio 2005 (Whidbey). In today’s blog I would like to enumerate on what the customers can expect of Visual J# .NET 2005. Visual J# .NET 2005 (Whidbey) is a significant step forward for J#. There have been additions all around – in the form…

1