Browse by Tags

Tagged Content List
  • Blog Post: null is not false

    The way you typically represent a "missing" or "invalid" value in C# is to use the "null" value of the type. Every reference type has a "null" value; that is, the reference that does not actually refer to anything. And every "normal" value type has a corresponding "nullable" value type which has a null...
  • Blog Post: I have a Fit, but a lack of Focus.

    Here's a statement I read the other day about making comparisons between objects of reference type in C#: Object.ReferenceEquals(x,y) returns true if and only if x and y refer to the same object. True or false? My wife Leah recently acquired a Honda Fit, thanks to the imminant failure of...
  • Blog Post: References are not addresses

    [NOTE: Based on some insightful comments I have updated this article to describe more clearly the relationships between references, pointers and addresses. Thanks to those who commented.] I review a fair number of C# books; in all of them of course the author attempts to explain the difference between...
Page 1 of 1 (3 items)