Some of you will probably know the ‘as’-keyword. If not, a short explanation:
The ‘as’-keyword is used to cast an object to another one. (Well it’s not exactly ‘casting’, if someone feels like explaining the difference between casting with the ‘as’-keyword or by using the class constructor, please go ahead in the comment below!).
To make it more concrete, here is an example: Continue reading…