Deciding what type of collection to use in a project is based on the objectives and needs of your project – which you will probably already know. But to decide which collection object to use, you need to know the major and subtle differences in collection implementations and what their impact will be on your …
Category Archive: Languages
Aug 19
Using Generics in .Net
Generics provide for extended code reusability and type safety in your projects. A generic is a class, structure or interface that uses a type parameter as a placeholder for the actual type that it will contain or use. These generic type definitions cannot be instantiated as they are not complete. In its simplest form, it …
Jul 19
Data Adapters in ADO.Net
Data Adapters are the objects in ADO.Net that allow us to communicate and exchange data between a data source and a dataset. With them, we are able to retrieve data from and write data to a database (actually any type of data repository). The type of database you are connecting to informs you as to …
Jul 12
C# .Net Basics: Classes
Classes A class is a user defined object or type construct that allows you to group together fields, properties and methods into a custom type that behaves in a consistent way. A class is a reference type; when an instance of a class is instantiated, an object reference is returned to the calling function, not …