Method C does not work for this.
DATA[] myData = new DATA[]{{1,3,"asdasd","asdasd"}, {...
You must install each separate DATA structure.
I suggest adding a constructor
public DATA(int number, int channel, string filename, string description)
{
this.number = number;
this.channel = channel;
this.filename = filename;
this.description = description;
}
and fill the array using ctor
DATA[] myData = new DATA[]{
new DATA(1, 3, "abc", "def"),
new DATA(2, 33, "abcd", "defg"),
...
};
You can also use a generic list and initialize it this way (.NET 3.5 and later):
List<DATA> list = new List<DATA>()
{
new DATA(1, 3, "abc", "def"),
new DATA(2, 33, "abcd", "defg")
};