[Mono-list] System.Web.UI.WebContols.FontInfo
A Rafael D Teixeira
rafaelteixeirabr@hotmail.com
Wed, 19 Sep 2001 11:24:11 -0300
>From: Gaurav Vaish <my_scripts2001@yahoo.com>
>
>Ya, this could be one possibility. I would then proceed as per this
>assumption.
>Ah! The .cs file may become too heavy though if I get to know to more and
>more classes to be put in the same assembly :(
No need to put all classes in the same .cs to make them in a single
assembly. Just put 'using' the base namespace in each .cs containing each
class and compile all files at once:
Example:
A.cs
using X;
namespace X
{
public sealed class A {
string c;
internal A(string C) { c = C; };
}
B.cs
using X;
namespace X
{
public class B {
public A a;
public B { a = new A("test"); ...}
...
}
...
}
then in the makefile
csc /target:dll /out:X.DLL A.cs B.cs
Rafael Teixeira
Brazilian Developer
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp