Hello, A colleague of mine noticed some odd behaviour today ( not actual
code, just an example ).

On windows .net compilers  the following works:

var x = (string)string.Format("Foo");
var y = (String)string.Format("Baa");

But on mono ( I have 2.6.4 ) only the former works, we see:

csharp> var x = (String)string.Format("foo"); 
{interactive}(1,23): error CS1525: Unexpected symbol `string'

Should I submit a bug report or does this look familiar already? (my
google foo is failing me today)

Regards

Ian




-- 
Ian Norton <i...@ncipher.com>
THALES nCIPHER

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to