10 namespace
Post on 08-May-2015
493 Views
Preview:
TRANSCRIPT
Namespaces
tnngo2@gmail.com
Programming in C#
Namespaces
Namespaces
used to group classes logically and prevent name clashes
between classes with identical names.
https://gist.github.com/2403402
System-defined Namespaces
Using namespaces
Custom namespaces (User-defined namespaces)
if a namespace is not declared, a default namespace is created in
every file by the compiler
Access Modifiers for Namespaces
always public
cannot apply access modifiers
Qualified Naming
Nested Namespace
Namespace Aliases
https://gist.github.com/2404626
top related