public class Ex
{
public string example1{get;set;}
public string example2{get;set;}
public Test test{get;set;}
}
public class Test
{
public string example3 {get;set;}
public long[] arrayLong{get;set;}
}
I have List listEx for example 10 elements. How get arraylong?
long[] result = listEx.Select( x=> x.Test.Select(y =>y.arrayLong)).ToArray();
I need only long[] how parse it?