Error!
Success!

Type casting – the difference between as and () operators

0
kicks

Type casting – the difference between as and () operators  (Unpublished)

In C#, you have two different ways to perform type casting (a.k.a. explicit type conversion) – as and () operators. The difference between the two operators is not limited to just syntax, they work differently. It is subtle enough to trap even experienced developers


Kicked By:
Drop Kicked By: