Learn how to a build a cloud-first strategyRegister Now


Creating Classes

Posted on 2004-11-24
Medium Priority
Last Modified: 2010-04-23
I am creating a bomb class for our applications.  I have 2 classes Bomb and BombDetail.  In the Bomb Class I have a Proprty for BombDetail that I want as an Arrary of BombDetail.  How do I set this up so I can create new BombDetails and add them to the BOmbDetail property of the Bomb Class.
Question by:d_potts
1 Comment

Accepted Solution

Lacutah earned 500 total points
ID: 12665395
The easiest way would to be to create bomb detail as an ArrayList inside the Bomb class.   Although the ArrayList object can hold any type of object, it's a lot easier and less programming intensive than creating a BombDetail collection class.

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Integration Management Part 2
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question