C# Generic — 01

Generic class inheritance

If we inherited a generic class to a non-genric class, we need to define the type in there. (change the superclass _dataset access modifier to protected )

Constraints on generic type parameters

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rasika Gayan Gunarathna

Rasika Gayan Gunarathna

Full Stack Developer | AWS Associate Solution Architect | Skater