April 2013
Intermediate to advanced
1700 pages
92h 51m
English
Despite the fact naming conventions for namespaces and types exist, it’s still possible to end up with ambiguities across different assemblies. One more or less common case is when multiple versions of an assembly need to be referenced (for example, for compatibility scenarios). Those assemblies might have the same namespace and type names, so a new ambiguity arises: Whose assembly’s namespace or type is being referred to?
Figure 24.12 shows what happens if both those assemblies contain the following namespace and type, which we attempt to use from our code:
namespace Bar{ public class Foo { }}
FIGURE 24.12 Referenced assemblies ...
Read now
Unlock full access