@@ -19,47 +19,47 @@ public ClassWithArrayCtor(T[,] array)
1919m_array = array ;
2020}
2121
22- public ClassWithArrayCtor ( T [ , , ] array )
22+ public ClassWithArrayCtor ( T [ , , ] array )
2323{
2424m_array = array ;
2525}
2626
27- public ClassWithArrayCtor ( T [ , , , ] array )
27+ public ClassWithArrayCtor ( T [ , , , ] array )
2828{
2929m_array = array ;
3030}
3131
32- public ClassWithArrayCtor ( T [ , , , , ] array )
32+ public ClassWithArrayCtor ( T [ , , , , ] array )
3333{
3434m_array = array ;
3535}
3636
37- public ClassWithArrayCtor ( T [ , , , , , ] array )
37+ public ClassWithArrayCtor ( T [ , , , , , ] array )
3838{
3939m_array = array ;
4040}
4141
42- public ClassWithArrayCtor ( T [ , , , , , , ] array )
42+ public ClassWithArrayCtor ( T [ , , , , , , ] array )
4343{
4444m_array = array ;
4545}
4646
47- public ClassWithArrayCtor ( T [ , , , , , , , ] array )
47+ public ClassWithArrayCtor ( T [ , , , , , , , ] array )
4848{
4949m_array = array ;
5050}
5151
52- public ClassWithArrayCtor ( T [ , , , , , , , , ] array )
52+ public ClassWithArrayCtor ( T [ , , , , , , , , ] array )
5353{
5454m_array = array ;
5555}
5656
57- public ClassWithArrayCtor ( T [ , , , , , , , , , ] array )
57+ public ClassWithArrayCtor ( T [ , , , , , , , , , ] array )
5858{
5959m_array = array ;
6060}
6161
62- public ClassWithArrayCtor ( T [ , , , , , , , , , , ] array )
62+ public ClassWithArrayCtor ( T [ , , , , , , , , , , ] array )
6363{
6464m_array = array ;
6565}
@@ -69,138 +69,138 @@ public static class StaticClassWithGenericMethod
6969{
7070public static void Example < T > ( T [ ] array )
7171{
72- throw new NotImplementedException ( ) ;
72+ Console . WriteLine ( array ) ;
7373}
7474
7575public static void Example < T > ( T [ , ] array )
7676{
77- throw new NotImplementedException ( ) ;
77+ Console . WriteLine ( array ) ;
7878}
7979
80- public static void Example < T > ( T [ , , ] array )
80+ public static void Example < T > ( T [ , , ] array )
8181{
82- throw new NotImplementedException ( ) ;
82+ Console . WriteLine ( array ) ;
8383}
8484
85- public static void Example < T > ( T [ , , , ] array )
85+ public static void Example < T > ( T [ , , , ] array )
8686{
87- throw new NotImplementedException ( ) ;
87+ Console . WriteLine ( array ) ;
8888}
8989
90- public static void Example < T > ( T [ , , , , ] array )
90+ public static void Example < T > ( T [ , , , , ] array )
9191{
92- throw new NotImplementedException ( ) ;
92+ Console . WriteLine ( array ) ;
9393}
9494
95- public static void Example < T > ( T [ , , , , , ] array )
95+ public static void Example < T > ( T [ , , , , , ] array )
9696{
97- throw new NotImplementedException ( ) ;
97+ Console . WriteLine ( array ) ;
9898}
9999
100- public static void Example < T > ( T [ , , , , , , ] array )
100+ public static void Example < T > ( T [ , , , , , , ] array )
101101{
102- throw new NotImplementedException ( ) ;
102+ Console . WriteLine ( array ) ;
103103}
104104
105- public static void Example < T > ( T [ , , , , , , , ] array )
105+ public static void Example < T > ( T [ , , , , , , , ] array )
106106{
107- throw new NotImplementedException ( ) ;
107+ Console . WriteLine ( array ) ;
108108}
109109
110- public static void Example < T > ( T [ , , , , , , , , ] array )
110+ public static void Example < T > ( T [ , , , , , , , , ] array )
111111{
112- throw new NotImplementedException ( ) ;
112+ Console . WriteLine ( array ) ;
113113}
114114
115- public static void Example < T > ( T [ , , , , , , , , , ] array )
115+ public static void Example < T > ( T [ , , , , , , , , , ] array )
116116{
117- throw new NotImplementedException ( ) ;
117+ Console . WriteLine ( array ) ;
118118}
119119
120- public static void Example < T > ( T [ , , , , , , , , , , ] array )
120+ public static void Example < T > ( T [ , , , , , , , , , , ] array )
121121{
122- throw new NotImplementedException ( ) ;
122+ Console . WriteLine ( array ) ;
123123}
124124}
125125
126126public static class GenericStaticClassWithMethod < T >
127127{
128128public static void Example ( T [ ] array )
129129{
130- throw new NotImplementedException ( ) ;
130+ Console . WriteLine ( array ) ;
131131}
132132
133133public static void Example ( T [ , ] array )
134134{
135- throw new NotImplementedException ( ) ;
135+ Console . WriteLine ( array ) ;
136136}
137137
138138public static void Example ( T [ , , ] array )
139139{
140- throw new NotImplementedException ( ) ;
140+ Console . WriteLine ( array ) ;
141141}
142142
143143public static void Example ( T [ , , , ] array )
144144{
145- throw new NotImplementedException ( ) ;
145+ Console . WriteLine ( array ) ;
146146}
147147
148148public static void Example ( T [ , , , , ] array )
149149{
150- throw new NotImplementedException ( ) ;
150+ Console . WriteLine ( array ) ;
151151}
152152
153153public static void Example ( T [ , , , , , ] array )
154154{
155- throw new NotImplementedException ( ) ;
155+ Console . WriteLine ( array ) ;
156156}
157157
158158public static void Example ( T [ , , , , , , ] array )
159159{
160- throw new NotImplementedException ( ) ;
160+ Console . WriteLine ( array ) ;
161161}
162162
163163public static void Example ( T [ , , , , , , , ] array )
164164{
165- throw new NotImplementedException ( ) ;
165+ Console . WriteLine ( array ) ;
166166}
167167
168168public static void Example ( T [ , , , , , , , , ] array )
169169{
170- throw new NotImplementedException ( ) ;
170+ Console . WriteLine ( array ) ;
171171}
172172
173173public static void Example ( T [ , , , , , , , , , ] array )
174174{
175- throw new NotImplementedException ( ) ;
175+ Console . WriteLine ( array ) ;
176176}
177177
178178public static void Example ( T [ , , , , , , , , , , ] array )
179179{
180- throw new NotImplementedException ( ) ;
180+ Console . WriteLine ( array ) ;
181181}
182182}
183-
184- public static class MethodsReturningHighDArrays
185- {
183+
184+ public static class MethodsReturningHighDArrays
185+ {
186186public static T1 [ , ] Example1 < T1 > ( )
187187{
188- throw new NotImplementedException ( ) ;
188+ return new T1 [ 1 , 1 ] ;
189189}
190-
191- public static T1 [ , , , , , ] Example1 < T1 > ( int x )
190+
191+ public static T1 [ , , , , , ] Example1 < T1 > ( int x )
192192{
193- throw new NotImplementedException ( ) ;
193+ return new T1 [ 1 , 1 , 1 , 1 , 1 , 1 ] ;
194194}
195195
196196public static T1 [ , ] Example2 < T1 > ( )
197197{
198- throw new NotImplementedException ( ) ;
198+ return new T1 [ 1 , 1 ] ;
199199}
200200
201- public static T1 [ , , , , , , ] Example2 < T1 , T2 > ( )
201+ public static T1 [ , , , , , , ] Example2 < T1 , T2 > ( )
202202{
203- throw new NotImplementedException ( ) ;
203+ return new T1 [ 1 , 1 , 1 , 1 , 1 , 1 , 1 ] ;
204204}
205205}
206206}