Nullable Types in .net

Wednesday, April 1, 2009

C#

DataTime? dtfromdt= null;

int? intCount = null;

bool? bStatus = null;

VB.NET



Dim dtfromdt As Nullable(Of DateTime)

Dim intCount As Nullable(Of Integer)

Dim bStatus As Nullable(Of Boolean)

0 comments

Post a Comment

Note: Only a member of this blog may post a comment.

Blog Widget by LinkWithin