Store your classes as public in DLL library. Then you can call them as much
as you wish, you just need to add reference to the library :)

2009/10/7 alex <ajilt...@googlemail.com>

>
>
> I am coming from eclipse world and java.
> In java you have collection of classes and eclipse (IDE) allows you to
> call
> static main() methods of each class seperately (kind of quick test)
>
> now i am working in c sharp and visual studio i figured out that it is
> not really possible to do it -- each
> project has one entry point so it is hard to have this flexibility
>
> effectively is i have
>
> class A { public static void Main() { a = new A(); a.runcode(); }}
> class B { public static void Main() { b = new B(); b.runcode(); }}
> ....
> class Z { public static void Main() { z = new Z(); z.runcode(); }}
>
>
> I would like to run either an instance of A or instance of B or
> instance of
> something else from IDE for quick testing
>
>
> how can i retain the ability to run each class in the project
> on its own -- it is great and convenient for quick test of whether
> a class is working and to do bottom line design of the programs
>
> many thanks
>
> alex
>

Reply via email to