Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApplication2
  8. {
  9. class List<T>
  10. {
  11.  
  12. }
  13. class Stos<T> :IComparable
  14. {
  15. protected string zawartosc, opis;
  16. public virtual void Poloz(T t)
  17. {
  18.  
  19. }
  20. public virtual void Zdejmij()
  21. {
  22.  
  23. }
  24. public virtual void Podejrzyj()
  25. {
  26.  
  27. }
  28. public virtual void ToString() //publiczne musza byc virtual voidy.
  29. {
  30.  
  31. }
  32.  
  33. }
  34.  
  35. class StosParzysty<int> : Stos<int>
  36. {
  37. public StosParzysty()
  38. {
  39.  
  40. }
  41. public override void Podejrzyj()
  42. {
  43.  
  44. }
  45.  
  46. public override void Poloz(int t)
  47. {
  48.  
  49. }
  50.  
  51. public override void Zdejmij()
  52. {
  53.  
  54. }
  55.  
  56. public override void ToString()
  57. {
  58.  
  59. }
  60. }
  61.  
  62. class StosNieparzysty<int> : Stos<int>
  63. {
  64. public StosNieparzysty()
  65. {
  66.  
  67. }
  68. public override void Podejrzyj()
  69. {
  70.  
  71. }
  72.  
  73. public override void Poloz(int t)
  74. {
  75.  
  76. }
  77.  
  78. public override void Zdejmij()
  79. {
  80.  
  81. }
  82.  
  83. public override void ToString()
  84. {
  85.  
  86. }
  87. }
  88.  
  89.  
  90. class Program
  91. {
  92. static void Main(string[] args)
  93. {
  94. }
  95. }
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement