Code below causes InvalidOperationException in Mono 2.4
Is this known issue ?
Andrus.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class Test
{
public static void Main()
{
try
{
IEnumerable<string> e = new string[0];
var x = e.Max();
System.Windows.Forms.MessageBox.Show((x == null).ToString());
}
catch (Exception ex)
{
System.Windows.Forms.MessageBox.Show(ex.ToString());
}
}
}
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list