Primitive Types
bool isReady = true;byte age = 27;sbyte temperature = -10;short population = 5000;ushort count = 10000;int score = 100;uint distance = 5000;long population = 7500000000;ulong bigNumber = 9999999999;float pi = 3.14f;double distance = 1500.75;decimal amount = 99.99m;char grade = 'A';string name = "John Doe";
Last updated