[newbie] creating array in C#

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Hey

I'm trying to create a simple array in C#, but it won't compile. There must
be something wrong with how I define the array:

These are the 2 approaches I've tryed, both gives compile error:
String FontScale[] = {"xx-small", "x-small"};
String FontScale = {"xx-small", "x-small"};

Any suggestions?

Jeff
 
Back
Top