No. IList<Employee> is not assignable to IList<IEmployee>. However, 
IEnumerable<Employee> is assignable to IEnumeable<IEmployee>.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Arjang Assadi
Sent: Thursday, April 07, 2011 11:46 PM
To: ozDotNet
Subject: if Employee implements IEmployee then would List<Eemployee> be 
invariant to IList<IEmployee> ?

if Employee implements IEmployee
then is it true that : List<Eemployee> is invariant to IList<IEmployee> ?

Regards

Arjang

Reply via email to