pszczyg

Untitled

Apr 1st, 2017
172
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Training
  2. {
  3.     public Training()
  4.     {
  5.     }
  6.  
  7.     private List<Exercise> _exercises { get; set; }public void AddExercise(Exercise exercise)
  8.     {
  9.         if(_exercises == null)
  10.             _exercises =new List<Exercise>();_exercises.Add(exercise);
  11.     }
  12. }
RAW Paste Data