C# - PRIMITIVE DATATYPES
📘 1. What are Primitive Data Types in C#? ✅ What Primitive data types are basic built-in types used to store simple values like numbers, characters, and true/false. 👉 Examples: int , double , char , bool ✅ Why use Primitive Data Types? ✔ Fast and efficient ✔ Directly supported by CPU ✔ Less memory usage ✔ Easy to use ❌ Why NOT (Limitations)? ❌ Cannot store complex data ❌ Fixed size (limited range) ❌ No advanced behavior like objects ✅ How to Use? // Syntax datatype variableName = value ; 📊 2. Common Primitive Data Types in C# Data Type Size Example Description int 4 bytes 10 Whole numbers float 4 bytes 10.5f Decimal numbers double 8 bytes 10.55 Large decimals char 2 bytes 'A' Single character bool 1 bit true True/False byte 1 byte 255 Small numbers 💡 3. Example Program with Comments using System ; namespace PrimitiveDemo { class Program { static void Main ( string [] args ) { // Integer ty...