Default keyword in c#

added by jalpesh
2/13/2013 1:11:49 PM

0 Kicks, 61 Views

n this post, I am going to explain about default keyword in c#. Introduction: As per MSDN default keyword in C# it used to assign the default value of the type. In some situation its comes very handy where we don’t want to create object and directly assign the default value of it. The basic syntax of default is default(T) where t is any reference type of value type and If T is a value type, whether it will be a numeric value or struct.


0 comments