Wednesday, May 13, 2009

What are the default values in C#.Net?

Type Default Value
bool : false
int : 0
double : 0
string : null
char : '\0'
Reference Type : null

No comments:

Bookmark and Share