Unless one is a sub-class of the other, you can't cast (and even then, you can only cast up, exceptions being objects viewed as a poly-morphed super object). What you can do is declare your list to...
Type: Posts; User: helloworld922
Unless one is a sub-class of the other, you can't cast (and even then, you can only cast up, exceptions being objects viewed as a poly-morphed super object). What you can do is declare your list to...