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
Neil
NA
5
0
How do I - Class within a class
Aug 13 2006 9:28 PM
I am very new to C# programming and I am trying to find a more efficient way to do what I am trying. What I wrote works, but its very clunky.
I have an account class, which entails an account number, sub-number and location. Each account class will have one or more coverages. Each of these coverages will have integers # of employees, # of insured, # of dependents.
So...
Acct 1 Coverage 8 - 8 emps, 6 insd, 6 deps
Acct 1 Coverage 25 - 2 emps, 2 insd, 1 dep
Acct 2 Coverage 1 - emps insd deps
Acct 3
You get the idea. It would seem that a Coverage class within the account class would make logical sense, but I find that anywhere in my book to see whether its possible, and searching the web brought me no where.
Reply
Answers (
1
)
simulate mouse click with VB 2005
Urgent :How To know if a File Is readOnly ?