I'm just starting to learn C#. I was raised on Java. Have some questions.
I know how to compile C# files, ie:
~csc file.cs
to create an .exe , which requires an entry point (main).
But what if i just want to compile a class (is it called a class in C#?) that has no entry point? I don't want to just
include the class in the file that will be compiled into the exe. I've figured out how to create a .dll. If a dll is like a
class in C#, does this mean that I have to register the dll? In java you compile the .java file into a .class file
whether it has an entry point or not.
I've googled and didn't really get any good information on this. I'm sure this is very easy in VS.Net, but I'm using
the command-line tools.
Sorry if this is a stupid post, but I really didn't know where to look for this info.
BTW, has anyone tried out winCV.exe that comes with the SDK. If you haven't, check it out... it's a damn good
tool.
Thanks a lot guys.
I know how to compile C# files, ie:
~csc file.cs
to create an .exe , which requires an entry point (main).
But what if i just want to compile a class (is it called a class in C#?) that has no entry point? I don't want to just
include the class in the file that will be compiled into the exe. I've figured out how to create a .dll. If a dll is like a
class in C#, does this mean that I have to register the dll? In java you compile the .java file into a .class file
whether it has an entry point or not.
I've googled and didn't really get any good information on this. I'm sure this is very easy in VS.Net, but I'm using
the command-line tools.
Sorry if this is a stupid post, but I really didn't know where to look for this info.
BTW, has anyone tried out winCV.exe that comes with the SDK. If you haven't, check it out... it's a damn good
tool.
Thanks a lot guys.