Search This Blog

Saturday, 31 January 2015

IList in C#

Lists and arrays implement IList.

This interface is an abstraction that allows list types to be used with through a single reference type.

Properties of IList

Few popular property of IList interface is given below.

Count:-  It will return number of object in List

IsReadOnly:- This property will indicate whether the IList is read-only or not.

Item:- It will return the particular Item of specified index.

Example :-

 For calling this class method in void Main.

Final Output :-


1 comment:

  1. dot net is the latest technology also provides many features and also easy to blog also provide descriptive information thank you for sharing

    Dot Net Tutorial


Angular 6 tutorial for beginners

Angular 6 tutorial for beginners