Created
October 2, 2013 19:47
-
-
Save Fhernd/6799491 to your computer and use it in GitHub Desktop.
Demostración del ocultamiento de nombres en namespaces en C#.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Exterior | |
{ | |
class Clase1 | |
{ | |
// ... | |
} | |
namespace Interior | |
{ | |
class Clase1 | |
{ | |
// ... | |
} | |
class Test | |
{ | |
static void Main() | |
{ | |
Clase1 objeto1; | |
Exterior.Clase1 objeto2; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment