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
choconlangthang
NA
6
0
Error: Many entry point, why?
Feb 22 2005 11:01 AM
Hi everyone, please help me with this: I have a class named classA. classA has a main function: class classA { public static void Main() { ........ } } I have another class, classB, inherit classA. classB also has a main function classB: class classB:classA { public new static void Main() { ...... } } I already use the word "new" for classB (public new static void Main() ), but the compiler (VS 2003)still says "Error: More than one entry point" . So's what's wrong with my code? Thanks.
Reply
Answers (
3
)
Spawning a New Form
Custom Panel Conrol