S
santimbs
Hi everyone,
Lets say I have:
interface ICar
{
}
class Mercedes : ICar
{
}
Why can't I assign:
IList<ICar> cars = new List<Mercedes>();
thanks in advance,
Santi
Lets say I have:
interface ICar
{
}
class Mercedes : ICar
{
}
Why can't I assign:
IList<ICar> cars = new List<Mercedes>();
thanks in advance,
Santi
