1. using System;
  2. using System.Text;
  3. using System.Collections;
  4.  
  5. namespace Testprojekt
  6. {
  7.  
  8. public static class Flugzeug{
  9. private string s;
  10. private int i;
  11. private List<Triebwerk> triebwerke;
  12.  
  13. public Flugzeug()
  14. {
  15. s = string.Empty;
  16. i = muh();
  17.  
  18. triebwerke.Add(new Triebwerk());
  19. triebwerke.Add(new Triebwerk());
  20. }
  21.  
  22. public Flugzeug(string s)
  23. {
  24. this.s = s;
  25. }
  26.  
  27. private static int muh()
  28. {
  29. return 10;
  30. }
  31.  
  32. private class Triebwerk
  33. {
  34.  
  35. }
  36.  
  37. }
  38.  
  39. public Interface IFlugzeug
  40. {
  41. public void Starte();
  42. }
  43.  
  44. public class Duesenjet : Flugzeug, IFlugzeug
  45. {
  46. public Duesenjet() : base()
  47. {
  48. }
  49.  
  50. public void Starte()
  51. {
  52. }
  53.  
  54. }