Making calls to data in a database can be expensive. There may also be times where you don’t have a database system to access. The good news is Microsoft.NET C# provides objects you may query like data.
In this Code Tip I’ll demonstrate how to use a couple of these objects called Collections. You will also learn why they are extremely useful when you need to access objects as if they were records contained in a data table.