Using external files in C#...
I am trying to create something similar to VB modules. Do I have to create a DLL or can I just call classes from another .CS file? I've tried pulling from a CS file, but I get the error that I need to set an entry point. I've added the namespace at the beginning. The example below is roughly what I'm trying to do, I can see the functions from the other file, I just keep getting that error on compile.
using Example.test
//Windows form stuff...
public void myFunction()
{
myClass mC = new myClass();
label1.Text = mC.stuff().ToString();
}
thanks,
Jason
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

spgilmoreRank #1,616 · 964 reputationPosted Dec 22, 2003, 9:58 AM EST
Jason11 reputationPosted Dec 22, 2003, 10:29 AM EST