Sunday, August 2, 2009

[C#] What's the difference between a null escape character and nullable type?

In C#, what's the difference between a null escape character and nullable type?





// This is an example of a null escape character


char emptyVariable = '\0';





// This is an example of a nullable type


char? emptyVariable = null;

[C#] What's the difference between a null escape character and nullable type?
http://blogs.msdn.com/CSharpFAQ/Default....





http://www.fincher.org/tips/Languages/cs...

spring flowers

No comments:

Post a Comment