J
John Bailo
Why can't I do this:
private const String[] words = new String[] {
"house",
"car"};
private const String[] words = new String[] {
"house",
"car"};
John Bailo said:Why can't I do this:
private const String[] words = new String[] {
"house",
"car"};
John Bailo said:Why can't I do this:
private const String[] words = new String[]
{ "house", "car"};
Paul E Collins said:John Bailo said:Why can't I do this:
private const String[] words = new String[]
{ "house", "car"};
I'm not quite sure, but it will work if you use readonly instead of
const.