Most of C#’s support for generics was covered in the previous article, but today we’ll wrap it up by discussing covariance and contravariance. We’ll also talk about C#’s support for annotations and compare to what’s available in AS3.
Posts Tagged annotations
You’ve probably seen built-in metadata tags like
[Embed], but have you ever wondered how you could add your very own, custom tags? Today’s article shows you how to add custom annotations to your AS3 classes and methods. Mark old methods of your library with
[Deprecated], file format classes with
[Version], or anything else you’d like. Today’s article shows you how.