分两种类型,value type and reference type. By default, value type owns a default value. For integer, the default value is 0. The value type can't be null. Non nullable But for reference types, included class, interface, delegates, arrays, objects, 这些引用类型可以…
implicit explicit float f=12123456.213F int a = Convert.ToInt32(f); //throw exception or int a = (int)f; // not throw exception nut got an overflow value parse and tryparse string to other datatype string a="100fh"; int num=int.Parse(a); //throw…