Simple Question: Classes in C#
Hi all,
Im having some problems getting started with C#.
I can't compile the classes which I need to the
ASP.NET application im trying to build, and I can't
seem to understand why ...
For example, when I try to compite the following code ( > csc MyStrategy.cs ):
abstract MyStrategy {
public abstract string decideStrategy(string name, string pw);
}
or
public class MyStrategy {
public string decideStrategy(string name, string pw){
return "...";
}
}
the compiler tells me that I need an entry point defined.
I need a few classes to do some work for me in the ASP.NET
pages that im trying to make - my plan was to make a few
classes, compile them and them "embed" them in the code -
just as you would do in, say a JSP page.
Thanks in advance
- Jim T.

jinwolfRank #7,492 · 240 reputationPosted Jul 8, 2004, 1:23 AM EDT
thamail5 reputationPosted Jul 8, 2004, 3:41 AM EDT
fluffyjan14 reputationPosted Jul 8, 2004, 2:29 PM EDT
Tanvir HudaRank #4,089 · 366 reputationPosted Jul 8, 2004, 9:37 PM EDT