[Mono-dev] System.Net

Robert Jordan robertj at gmx.net
Fri Aug 18 11:41:21 EDT 2006


Please reply on the list.

matt westerburg wrote:
 > So if I had code that utilized System.Net and I just leave it with
 > using System;
 > Would it be compatible or would methods and classes be different?

Like in MS.NET, System.Net is a namespace which happens to
be implemented in the System assembly. With "using" you're
importing namespaces and not assemblies.

Assemblies are referenced using compiler options:

mcs -r:System.dll ....

or

mcs -pkg:dotnet ...

The latter references the same assemblies as csc does.

Robert




More information about the Mono-devel-list mailing list