[MonoDevelop] passing array as an argument

Jiri Mares maresjiri at yahoo.com
Fri Oct 5 16:10:03 UTC 2012


Hi,

I was trying to debug simple code (attached below) in MonoDevelop. For some reason MonoDevelop is crashing when debugging with "Exception in callback: System.Reflection...." error message. When I paste the same code in to MS Visual Studio program seems to work as expected. Could you please advise what may be wrong?

Many thanks.
Best regards

jiri


namespace ConsoleApplication1
{
    class Program     {
        static void Main(string[] args)
        {
            double[,] lsmtx = null;
            lsmtx = getLSM();
        }         static double[,] getLSM()
        {
            double[,] lsm = new double[,] { { 1, 2, 3 }, { 1, 2, 3 } };
            return lsm;
        }
    
    
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20121005/187a2489/attachment.html>


More information about the Monodevelop-list mailing list