Cindy,
>I need to use ClassA in the Main.cs file inside another class (and so
>there seems to be a dependency). How do I do that? Do I need to provide
>a namespace and then "using" it?
No, that's not necessary.
>How do I then compile these two files
>at the same time from the commandline (I have plenty of other files and
>I don't want to do: csc *.cs /o)
Just list both files.
csc /o Main.cs ClassA.cs
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.