Typo
The second version in the book:
int [] myData = new int[,] {
{1,2,3},
{4,5,6}
};
has a typo in it. The first pair of brackets need the missing comma. It should be:
int [,] myData = new int[,] {
{1,2,3},
{4,5,6}
};
Sorry for the hiccup...
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
|