Tuesday, March 11, 2008

Default values for bool, int, double, string, char, reference-type variables

TypeDefault Value

bool false

int 0

float 0

string null

char '\0'

ReferenceType null

No comments:

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.