float single-precision floating point type float value = 1.23f;
double double-precision floating point type double val1 = 1.23 double val2 = 4.56d;
bool boolean type; a bool value is either bool value = true; true or false
char character type; a char value is a unicode char value = 'h'; character
decimal precise decimal type with 28 significant digits decimal value = 1.23m;
äãò²¿éòô×ô¶¨òå×ô¼ºµäô¤¶¨òåààðí£¬¿éòôõâñù£º*/ using system; struct digit {...} class test { static void testint() { int a = 1; int b = 2; int c = a + b; console.writeline(c); } static void testdigit() { digit a = (digit) 1; digit b = (digit) 2; digit c = a + b; console.writeline(c); } static void main() { testint(); testdigit(); } } /* õâò»½úóðµã³áãæ¡££º£¨