In the Ntypes you can see some advanced C# programming applied in the source code that may interest you:
- the ?null object? refactoring pattern applied (this is what Ntypes does on .NET built-in types) http://www.refactoring.com/catalog/introduceNullObject.html from "Refactoring: Improving the Design of Existing Code" - Martin Fowler, Kent Beck et al. - Addison Wesley Professional - 1999 - the ?value object? refactoring pattern applied (Ntypes are immutable as string and all .NET built-in types) http://www.informit.com/isapi/product_id~%7BB99E3E67-7CF5-4D66-A7AC-C09D43FE4828%7D/content/index.asp - float/single Equals and Operator== mismatch between CLR Guidelines and IEEE 754 specifications - System.Decimal overflow indifference for Checked/Unchecked - An implementation of Operator true and Operator false and the null semantic implemented in the NullableBoolean type http://www.contrib.andrew.cmu.edu/%7Eshadow/sql/sql1992.txt - operator overloading combined with conversion operators to implements data types that work like .NET built-in types - FxCop guideline applied to the source code - Full unit testing coverage with Nunit, and applied Test Driven Development Comments and suggestions (and helps) are welcome. Regards, Luca Minudel NullableTypes Project Manager ------------------------ NullableTypes for .NET are a very reliable and efficient version of built-in value-types that can be Null. NullableTypes pass more than 800 different test cases and have close-to-optimal efficiency as built-in value-types. They may be used every time you need to store a Null value in a .NET built-in value-type. NullableTypes can be used by and deployed with commercial closed-source products without posing limitations or license requirements on the commercial product. The version 1.0 (stable) has just been released. It is features complete and include binary, samples, help and source code. You can download NullableTypes from the project home-page: http://nullabletypes.sourceforge.net =================================== This list is hosted by DevelopMentor� http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com
