On of the design issues i have heard come up frequently is casting objects of a derived type to its base type. Using generics we cannot cast a collection of derived types to its base type...unless we create a collection based upon an Interface
On of the design issues i have heard come up frequently is casting objects of a derived type to its base type. Using generics we cannot cast a collection of derived types to its base type...unless we create a collection based upon an Interface
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · Learn .NETCSharp 13 and .NET 9 Scripting Guide (Run .cs Without Projects)Download nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.