|
by Eric Lippert via Fabulous Adventures In Coding on 3/9/2010 2:52:00 PM
The Framework Design Guidelines say in section 3.4 “do not use the same name for a namespace and a type in that namespace”. (*) That is:
namespace MyContainers.List{ public class List { … }}
Why is this badness? Oh, let me count the ways.
Part One: Collisions amongst referenced assemblies:
You can get yourself into situations where you think you are referring to one thing but in fact are referring to something else. Suppose you end up in this unfortunate situation: you are wri
... [ read more ]
|