static void Main(string[] args)
{
string data = "320400|320421198006063112|13334259X|320400D156000005A624B795FCBF246D|赵晓金|0087CF200186493204A624B795|2.00|20150811||320400818186||JSD027529211|";
string[] dataArray = data.Split('|').ToArray();//将切割好的数据取出放入数组
dataArray.Where(item => !string.IsNullOrEmpty(item)).ToArray();//移除空元素
}
int[] result = new int[5] { 1, 2, 3, 4, 5 };
result=result.Skip(0).Take(3).ToArray(); //1,2,3