Non-nullable reference parameters in C- April 27, 2005 Cyrus has been doing some extremely interesting writing on his blog about non-nullable reference types in C. C now supports nullable value types, so non-nullable reference types are really an extension and reversal of this. However the implementation of the latter turns out to be much more complicated as Cyrus has outlined over 4 ports. What I wonder is why we can't just have non-nullable reference method parameters, where the compiler ensures that the parameter can't be passed in as...http://weblogs.asp.net/acampbell/archive/2005/04/27/404723.aspx |