mardi 2 septembre 2014

can't use a sealed type as a generics constraints


Vote count:

0




I really need a logical explanation for that. Why did they do it? Why is using a sealed type as a constraint is not a good practice? I need the same function running for some types, and they happen to be sealed, what's wrong with that? and is there a way around it?



asked 48 secs ago







can't use a sealed type as a generics constraints

Aucun commentaire:

Enregistrer un commentaire