Type Conversion

suggest change

Remarks

Type conversion changes a value from one type to another. In C#, there are two forms:

Implicit type conversion - These conversions are performed by C# in a type-safe manner. For example, conversions from smaller to larger integral types, and conversions from derived classes to base classes.

Explicit type conversion - These conversions are written by the programmer with a cast operator.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents