Search
Categories
  ASP.NET
Visual C#
Visual Basic
.NET Framework
ADO.NET
AJAX
LINQ
Java
 
How To Rating
 
5.0 out of 5


Total Votes: 1
         
1 2 3 4 5
 




How to assign null value to value type variable in VB.NET

Author: Waqas Anwar - Posted Date: 09-June-2009 - Category: Visual Basic   
Bookmark and Share
If you have a value type variable in your program and you want to assign a null value to it you cannot do this without making that variable nullable as following code shows:
Dim i As Nullable(Of Integer) = Nothing
LEAVE YOUR COMMENTS LEAVE YOUR COMMENTS
 Name (required)  
 Email (required
 Website


 

 


 
 
 

Categories

My Portfolio

Website Links


Copyright @ 2009 EzzyLearning.com