Last active
December 19, 2015 05:09
-
-
Save Fhernd/5902480 to your computer and use it in GitHub Desktop.
Clase cliente PandaPrueba para la demostración del uso miembros estáticos.
This file contains hidden or 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
// Clase cliente para prueba de clase ConvertidorUnidades | |
class PandaPrueba | |
{ | |
static void Main() | |
{ | |
Panda p1 = new Panda("Pan Dee"); | |
Panda p2 = new Panda("Pan Dah"); | |
Console.WriteLine(p1.Nombre); // Pan Dee | |
Console.WriteLine(Panda.Poblacion); // 1 | |
Console.WriteLine(p2.Nombre); // Pan Dah | |
Console.WriteLine(Panda.Poblacion); // 2 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment