Showing posts with label class parity. Show all posts
Showing posts with label class parity. Show all posts

Monday, 26 January 2015

From AS3 to C#, Part 3: AS3 Class Parity

Picking up from last time, today we’ll finish off classes in C# from an AS3 perspective in preparation for next week when we delve into all-new concepts that aren’t in AS3 at all. Read on to learn the C# way to implement getters and setters, final functions and classes, const variables, and packages.
First up are getters and setters. As a refresher, here’s how they look in AS3: