sample.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. public class example
  2. {
  3. protected List<int> testfunction1(string text1)
  4. {
  5. List<int> numbers = new List<int>();
  6. return numbers;
  7. }
  8. protected List<T> testfunction2<T>(string text1)
  9. {
  10. List<int> numbers = new List<int>();
  11. return numbers;
  12. }
  13. protected int testfunction3<T>(string text1)
  14. {
  15. List<int> numbers = new List<int>();
  16. return numbers;
  17. }
  18. protected int testfunction4(string text1)
  19. {
  20. List<int> numbers = new List<int>();
  21. return numbers;
  22. }
  23. protected int testfunction5<T, S>(string text1)
  24. {
  25. List<int> numbers = new List<int>();
  26. return numbers;
  27. }
  28. protected IDictionary<T, S> testfunction6<T, S>(string text1)
  29. {
  30. List<int> numbers = new List<int>();
  31. return numbers;
  32. }
  33. protected IDictionary<T, S> testfunction7<T,
  34. S>(string text1)
  35. {
  36. List<int> numbers = new List<int>();
  37. return numbers;
  38. }
  39. protected IDictionary<T, IList<S>> testfunction8<T,
  40. S>(string text1)
  41. {
  42. List<int> numbers = new List<int>();
  43. return numbers;
  44. }
  45. protected IList<T> testfunction9<T, S>(string text1)
  46. {
  47. List<int> numbers = new List<int>();
  48. return numbers;
  49. }
  50. protected IList<T> Interface.testfunction10<T, S>(string text1)
  51. {
  52. List<int> numbers = new List<int>();
  53. return numbers;
  54. }
  55. protected IList<T> Interface<T>.testfunction11<T, S>(string text1)
  56. {
  57. List<int> numbers = new List<int>();
  58. return numbers;
  59. }
  60. protected IList<T> Interface<T, S>.testfunction12(string text1)
  61. {
  62. List<int> numbers = new List<int>();
  63. return numbers;
  64. }
  65. protected IList<T> Interface<T, S>.testfunction13<T>(string text1)
  66. {
  67. List<int> numbers = new List<int>();
  68. return numbers;
  69. }
  70. protected IList<T> Interface<T>.testfunction14<T, S>(string text1)
  71. {
  72. List<int> numbers = new List<int>();
  73. return numbers;
  74. }
  75. protected IList<T> Interface<T,S>.testfunction15<T, S>(string text1)
  76. {
  77. List<int> numbers = new List<int>();
  78. return numbers;
  79. }
  80. protected IList<T> Interface<T, S>.testfunction16 <T>(string text1)
  81. {
  82. List<int> numbers = new List<int>();
  83. return numbers;
  84. }
  85. protected IList<T> Interface <T, S>. testfunction17<T>(string text1)
  86. {
  87. List<int> numbers = new List<int>();
  88. return numbers;
  89. }
  90. class testClass1
  91. {
  92. }
  93. class testClass2
  94. {
  95. }
  96. class testClass3<T>
  97. {
  98. }
  99. class testClass4 <T>
  100. {
  101. }
  102. class testClass5<T, S>
  103. {
  104. }
  105. class testClass6<T,
  106. S>
  107. where T: class
  108. where S: class
  109. {
  110. }
  111. class testClass7 < T>
  112. where T : class
  113. {
  114. }
  115. protected IList<T> Interface<T, S, A, B, C>.testfunction18<T, S, A, V, F, G>(string text1)
  116. {
  117. List<int> numbers = new List<int>();
  118. return numbers;
  119. }
  120. }