Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / March 2006

Tip: Looking for answers? Try searching our database.

arraylists or class?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PhatTim - 03 Mar 2006 04:21 GMT
Hi, just a general question: my coworker and I have a question
regarding the most efficient way to track a bunch of data in our
windows form application. We have six arraylists declared in the base
class and copies of each set in all the usercontrols that we have on
the form. The original six are passed as references to every
usercontrol that needs it. While I don't like maintaining six different
arraylists in every usercontrol that we have and would like to group
them all in one class and share the one class, my coworker thinks this
will drain resources and that six separate arraylists is the most
effiicient way to do it. Any thoughts? Thanks for your suggestions.
Nick Hounsome - 03 Mar 2006 05:19 GMT
> Hi, just a general question: my coworker and I have a question
> regarding the most efficient way to track a bunch of data in our
[quoted text clipped - 6 lines]
> will drain resources and that six separate arraylists is the most
> effiicient way to do it. Any thoughts? Thanks for your suggestions.

I take it that you don't really copy the lists, just the references to them.
How does your colleague think that it would drain resources to put all the
lists in a single object?
I think that you are right on this one.
A strongly typed DataSet may be better though.
Stoitcho Goutsev (100) - 03 Mar 2006 14:11 GMT
PhatTim,

What are your colegue's grounds to think that having all lists together will
drain resources?

Signature

Stoitcho Goutsev (100)

> Hi, just a general question: my coworker and I have a question
> regarding the most efficient way to track a bunch of data in our
[quoted text clipped - 6 lines]
> will drain resources and that six separate arraylists is the most
> effiicient way to do it. Any thoughts? Thanks for your suggestions.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.