Didn't you mean to write "c.GetType()" below? When I use
char myChar = 'A';
Console.WriteLine("myChar is of type {0}", myChar.GetType());
Under mono (recent CVS), I do get, "myChar is of type System.Char"
On Wednesday 13 August 2003 1:49 am, Giuseppe Greco wrote:
>
> Let's analyze anoter example:
>
> char myChar = 'A';
> Console.WriteLine("myChar is of type {0}", c.GetType());
>
> The code above should produce the message
>
> "myChar is of type System.Char"
>
> Well, with Mono on Linux I get the right type name, while
> with .NET on Windows I get
>
> "myChar is of type System.Byte[]"
>
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list