public class IMGInfo
{
public DateTime Time;
public byte Channel;
public int Size;
}
public class IMGIndex
{
public DateTime Time;
public byte channel;
public long start;
public int len;
}
IMGIndex[] result=new IMGIndex[10];
IMGIndex 2 IMGInfo:
var res = (from n in result select new IMGInfo { Channel = n.channel, Size = n.len, Time = n.Time }).ToArray();
本文转自94cool博客园博客,原文链接:http://www.cnblogs.com/94cool/archive/2012/06/29/2569321.html,如需转载请自行联系原作者