2 // A compilation test - params with implicit user conversion
8 public Problem(string somedata
) {
9 this.somedata
= somedata
;
11 public static implicit operator Problem(int x
) {
12 return new Problem("" + x
);
15 public static int Multi(int first
, params Problem
[] rest
) {
19 public static int Main(string[] args
) {
20 Problem
[] ps
= new Problem
[] { 1, 2, 3 }
; // ok
21 Multi (1, 2, 3, 4); // fails to compile