I have been working with .NET for almost a year now and have slowly begun to gain a deeper understanding but still have a few general questions. I am making more generic classes to handle processing and while doing this I have run into various occasions where I need to use collections to store various string or other class values.
It seems that when using an ArrayList there is a bit of guilt where I am saying "you should try to use just an array". Can anyone comment on this and bring me up to speed. My next project calls for a class that iterates through a collection of another custom classes. I am trying to figure out if I should use an array or an arraylist. My biggest problem with using just an array is I remember an Array having to have a default value when it is created, which stumps me when I am creating a collection in a class to contain other classes and have no clue as to the size of the array.
Any tips and best practices are greatly apperciated.
Thanks agian for all you experts do, you have made this journey very fun and exciting! I am assigning 500 points to share with all those who provide input. Thanks much!