T
TDOR
I am used to initilize vars with Null to mean undefined, but in c#
even complex types such as DateTime are considered value-types
so they cant be null. So far I have worked around the problem
using values that are outside the normal working range of my
programs or some other workaround, but in many places it turns
my code into an obscure piece of sh*t code! It make the code look
old fashion C, and not very nice to hand over to some other programmer
for maintainance. Anyone has a solution? - my books mention nothing of
this issue so its probably so simple it staring me stright in the face.
even complex types such as DateTime are considered value-types
so they cant be null. So far I have worked around the problem
using values that are outside the normal working range of my
programs or some other workaround, but in many places it turns
my code into an obscure piece of sh*t code! It make the code look
old fashion C, and not very nice to hand over to some other programmer
for maintainance. Anyone has a solution? - my books mention nothing of
this issue so its probably so simple it staring me stright in the face.