Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000235ILNumerics[All Projects] Bugspublic2016-09-27 11:192016-09-27 12:50
Reporterconstructor 
Assigned Toho 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Summary0000235: incorrect samples
DescriptionSample from the link http://ilnumerics.net/csharp-debug-array-visualizer.html [^] doesn't work

            double[] A = new double[] { 1.1, 0.2, -1.3, 4, 5 };
            A[4] = 20;
            int r = 10;
            double B = A[4];
            int[] C = new int[] { 1, 2, -1, 4, 5 };

            int[,] D = new int[,]
            {
                {1, 0, -1, 4, 5},
                {0, 1, 0, -1, 2}
            };
            D[4, 0] = 20;
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000243)
ho (administrator)
2016-09-27 12:11

Please be more specific! What is the expected result? What was observed? Any error messages?
(0000250)
constructor (reporter)
2016-09-27 12:50

fails in line " D[4, 0] = 20;" with error "Index was outside the bounds of the array."

- Issue History
Date Modified Username Field Change
2016-09-27 11:19 constructor New Issue
2016-09-27 12:11 ho Note Added: 0000243
2016-09-27 12:11 ho Assigned To => ho
2016-09-27 12:11 ho Status new => feedback
2016-09-27 12:50 constructor Note Added: 0000250
2016-09-27 12:50 constructor Status feedback => assigned


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker