toomuchtodo 0 Newbie Poster

Hello all,

I have a question on the proper (OOP) way of gathering user inputs from multiple textboxes on my main Form and then using these calculations in various functions inside a class or two. I currently have a 1-D array of values that I have to name, and then I pass this array to another class where I then have to name the values inside the array again. The class has multiple functions that need access to these named variables, but I'm not sure of the proper way of doing this. I've read a tad bit on collections, but I'm not sure on how to 'transfer' a collection to a classes and then use them. Any ideas or more elaborate examples out there? Any help would be much appreciated! Thanks in advance guys! Happy programming!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.