Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Support for Consuming .NET Framework Classes

Visual Studio 2005

The Visual J# compiler supports the use of any .NET Framework library API that conforms to the common language specification (CLS). A sample "Hello, World!" program that uses .NET Framework classes is shown below.

// vjc_consume_netfx.jsl
// Contains the Console class.
import System.*;
public class Hello
{
    public static void main(String[] args)
    {
        Console.WriteLine("Hello, World!");
    }
}

Hello, World!
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft