How can i get 0 as integer value from (int)null.
(int)null
EDIT 1: I want to create a function that will return me default values for null representa
A method of a generic class that returns nothing works:
Class GetNull(Of T) Public Shared Function Value() As T Return Nothing End Function End Class Debug.Print(GetNull(Of Integer).Value())