TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
thamail
NA
3
0
Simple Question: Classes in C#
Jul 7 2004 6:23 PM
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.
Reply
Answers (
4
)
Overriding Methods
How to bind data in controls?