Built-In Data Types In C#
C# offers a wide variety of built-in data types. Whenever you create a variable for storing values - you need to define its type. C# being a strongly typed language - enforces type checking when you assign a value to a variable. In simple words, you cannot assign a string to an integer variable.