Type Checking and Type Casting in C#

added by DotNetKicks
8/5/2022 4:25:25 PM

169 Views

In this article, we are going to learn various ways of converting a value from one type to another (type casting) and how to check the type of a value at run time (type checking). Let's start. In any statically-typed language, a value has an assigned type that can't be changed after its creation.


0 comments