I am a java
beginner and I have to compare null
values in java with null in C#
.
I read that java does not assume anything to be null and always allocates memory but c# on the contrary assumes all to be null??? (did not understand what does this mean)
I also read that ordinary types in c# cannot be null but then i saw a code which says :
int? a = null;
int is ordinary type right?
I am really getting confused , can anybody help me out?
Thanks in advance