Advertisement
Fhernd

Panda.cs

Nov 13th, 2017
1,902
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. public class Panda
  2. {
  3.     public string Nombre { get; set;}
  4.     public Panda Pareja { get;set;}
  5.    
  6.     public void Relacionarse (Panda companiero)
  7.     {
  8.         Pareja = companiero;
  9.         companiero.Pareja = this;
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement