Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Last active November 13, 2017 16:29
Show Gist options
  • Save Fhernd/5400471 to your computer and use it in GitHub Desktop.
Save Fhernd/5400471 to your computer and use it in GitHub Desktop.
Demuestra el principio de semántica de la visibilidad.
class Visibilidad
{
private int X = 0;
public void Metodo(int X)
{
Console.WriteLine( "Valor de X: " + X );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment