[Noob question] Why can’t i create a list of a that contains a’s child

So what i want to do is have a list of class A. The list will also contain B (class B extends A). But when i do that i get a error. How can i fix it?

Thanks

by iLostMyAcc via /r/csharp

Leave a Reply