In Kathleen Dollard's recent blog post, she presents an interesting reason to use nested classes in .net. However, she also mentions that FxCop doesn't like nested classes. I'm assuming that the people writing FxCop rules aren't stupid, so there must be reasoning behind that position, but I haven't been able to find it.
相关问题
- Generic Generics in Managed C++
- What uses more memory in c++? An 2 ints or 2 funct
- How to Debug/Register a Permanent WMI Event Which
- 'System.Threading.ThreadAbortException' in
- Bulk update SQL Server C#
Fully Lazy and thread-safe singleton pattern
source: http://www.yoda.arachsys.com/csharp/singleton.html