Java |
type:
primitive types
reference types
numeric-type:
integral types
floating-point types
integral-type:
byte
short
int
long
char
floating-point-type:
float
double
reference-type:
class types
interface types
array types
Primitive types(8)
boolean
byte
char
short
int
long
float
double
|
|
C# |
type:
value types
reference types
numeric-type:
integral types
floating-point types
decimal
integral-type:
sbyte
byte
short
ushort
int
uint
long
ulong
char
floating-point-type:
float
double
reference-type:
class types
interface types
array types
delegate types
Predefined types or
system-provided types:
object
string
sbyte
short
int
long
byte
ushort
uint
ulong
float
double
bool
char
decimal
NOTE: value types include simple types,
enum types(derived from System.Enum)
and struct types.
|
|