Possible Duplicate:
Default value for generics
OK, so while translating some code from C# to VB.NET, I came across the default keyword, and I’m simply replacing it with nothing.
Is this the proper way to do it, or is there a better “translation” for that keyword?
Yup, that’s absolutely fine. While
Nothingis usually meant to mean the equivalent of C#’snull, it can be used with value types to, to mean “the default value of that type”.