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
shen chang
NA
2
0
Class design
Jun 26 2009 12:15 PM
Hi All
I want to design a class AlgorithmClass, in that class, it will use an unknown class UserClass which will be developed later by its user. In the UserClass, there are several methods UserMethodA(...), UserMethodB(...) ...etc. One example is UserMethodX(double[] x, double[]y, ArrayList z). The problem is at the time of design AlgorithmClass, the developer does not know any thing about the UserMethods look like and what kind variables will be passed to those methods. What he wants is the return values from the UserClass Methods by calling those methods. So in the AlgorithmClass, it will have a reference to the UserClass and calling UserClass.UserMethodA, ....... using delegate method or anything that works.
Possible to design this AlgorithmClass?
Thanks
Chang
Reply
Answers (
0
)
How to change theme of software
adding username and password in connectstring