Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created October 2, 2013 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/6799491 to your computer and use it in GitHub Desktop.
Save Fhernd/6799491 to your computer and use it in GitHub Desktop.
Demostración del ocultamiento de nombres en namespaces en C#.
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