Wrong Declaration
char CopiedString[];
char[] CopiedString;
Correct Declaration
char[] CopiedString = new char[3];
char[] CopiedString = xyz;
http://dotnetdud.blogspot.com/2008/08/bad-array-declarator-to-declare-managed.html
Wrong Declaration
char CopiedString[];
char[] CopiedString;
Correct Declaration
char[] CopiedString = new char[3];
char[] CopiedString = xyz;
http://dotnetdud.blogspot.com/2008/08/bad-array-declarator-to-declare-managed.html
No comments:
Post a Comment