# Converting Data Types in C#

C# converts a smaller type to a larger one for you; anything else you convert yourself, with a cast, the Convert class, or Parse for text.

![Cheat sheet: Converting Data Types in C#](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/1a3b6e69a38e423a93633f5ccb59a395.webp)

- Category: C#
- Level: Apprentice
- Tags: c-sharp, Parse(), TryParse(), Type Casting (c-sharp), Type Conversion (c-sharp)
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/converting-data-types-in-csharp-cheat-sheet
