On Sun, Dec 15, 2002 at 02:14:57AM +1300, Tum wrote: > Hi, > > It won't work because int[] is an array of value types whereas > IComparable[] is an array of reference types. If you used 'int[]' > instead of Integer[] in Java you'd get the same problem. > > The solution would be to box the ints by putting them inside an > IComparable[] array instead of an int[] array.
I thought that in C#, a int type was the same that a Int32 class and,
for this reason, I tried to do it.
I'm trying to change int[] to IComparable[] but I don't like it :D
See you,
Pedro
--
Pedro Martinez Juli�
\ [EMAIL PROTECTED]
)| [EMAIL PROTECTED]
/ http://yoros.cjb.net
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information: pub 1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E 534F 588B E285 74F1 D3AC
msg04851/pgp00000.pgp
Description: PGP signature
