Wednesday 11 February 2015

Definitions

1. Generic :-

Generic allow us to design classes and methods decoupled from the data type. Which will allow our code to be reuse with any data type.

2. Collection :-

Collection classes are normally used to hold collections of values or objects in memory. In collection classes, elements are inserted using either the Add or Insert method, and deleted using the RemoveAt method. Finally, collections can be iterated over using theforeach statement.

The System.Collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.

3. Delegate :-

Delegate is a Type Safe function Pointer. A delegate points to a function  and when we invoke this delegate the function will be invoked.It holds to a reference to a function. 




No comments:

Post a Comment