I will be writing some C# code where i'm pulling information from a database. The number of items I bring in from the database will be variable depending on information requested.

I'm thinking the best way to do this will be create a datastructure and store them in an array which will count the number of items before the array is created to the correct size.

Would this be the best way to do this?

Thanks for any ideas,
-Chris Blum