(lostre)
jon how great is this
you always seem to post when i am trying to figure out something


(lostre)
i was just trying to do something with "magic numbers" (giving a -1 initial value) and i came across nullable types...
anything you want to share about it (like when to use them how what they are etc) if you find any free time would be great!

)
Well, I don't have much time to go into them in detail, but I would urge caution when using them. They can be really useful, and C# has nice syntax around them (so you can compare them with null or set a value to null, even though it's definitely not the null
reference which the null keyword usually means). However, if it's not really obvious that they're involved, life can get confusing (as witnessed by the post).
To do a really small plug for my book, the whole of chapter 4 is dedicated to discussing nullable types. However, this forum's about HFC# rather than my book, so if you want to know any more about what's covered I suggest you email/PM me

Jon