[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]cscc/ecma c# question
From: |
Ravi Mishra |
Subject: |
Re: [DotGNU]cscc/ecma c# question |
Date: |
21 Oct 2002 16:29:15 -0700 |
Hi Rhys,
Thanks for the response. I am using pnet-0.3.2 from
http://www.southern-storm.com.au/portable_net.html#download .
Thanks,
Ravi
----
On Mon, 2002-10-21 at 16:17, Rhys Weatherley wrote:
> 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.