8 lines
173 B
C#
Raw Normal View History

// CS0623: Array initializers can only be used in a variable or field initializer. Try using a new expression instead
// Line: 7
class C
{
public int[] a = { 2, {1} };
}