Last active
November 13, 2017 16:29
-
-
Save Fhernd/5400471 to your computer and use it in GitHub Desktop.
Demuestra el principio de semántica de la visibilidad.
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
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