Created
October 8, 2013 04:40
-
-
Save Fhernd/6879553 to your computer and use it in GitHub Desktop.
Clase cliente para probar la clase Panda 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
public class PruebaPanda | |
{ | |
public static void Main(string[] args) | |
{ | |
Panda p1 = new Panda { Nombre = "Pandi" }; | |
Panda p2 = new Panda { Nombre = "Lamy" }; | |
p1.Relacionarse(p2); | |
Console.WriteLine (p1.Nombre); | |
Console.WriteLine (p1.Pareja.Nombre); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment