[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]cscc/ecma c# question
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]cscc/ecma c# question |
Date: |
Tue, 22 Oct 2002 09:17:54 +1000 |
Ravi Mishra wrote:
> Accd. to ECMA spec for C#, following code:
>
> using System;
>
> class MainClass
> {
> static void Main() {
> string s = "Test";
> string t = string.Copy(s);
> Console.WriteLine(s == t);
> Console.WriteLine((object)s == (object)t);
> }
> }
>
> should produce
> True (string comparison)
> False (object comparison)
>
> Where as ilrun is returning
> True
> True
>
> Any insight/suggestions?
Works fine here, using the latest CVS version of the sources.
What version are you using?
Cheers,
Rhys.