fork download
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. // your code goes here
  9. }
  10. }
  11.  
  12. public interface iPlugin
  13. {
  14. List<iPlugin2> Liste { get; set; }
  15. }
  16.  
  17. public interface iPlugin2
  18. {
  19. string Name { get; set; }
  20. }
  21.  
  22. public class cPlugin : iPlugin
  23. {
  24. private List<iPlugin2> _plgList = new List<iPlugin2>();
  25.  
  26. public List<iPlugin2> Liste { get {return _plgList;} set {_plgList = value;}}
  27. }
  28.  
  29. public class cPlugin2 : iPlugin2
  30. {
  31. private string _name;
  32.  
  33. public string Name { get {return _name;} set {_name = value;} }
  34. }
  35.  
Success #stdin #stdout 0.01s 23192KB
stdin
Standard input is empty
stdout
Standard output is empty