I would like to call one method 3 times Using LINQ , the method returns an object, with that object I want to add it into a List, How do i do it?
(我想调用一个方法3次使用LINQ ,该方法返回一个对象,将该对象添加到列表中,该怎么做?)
List<News> lstNews = new List<News>();
lstNews.Add(CollectNews) [x 3 times] <-- Using Linq
private static News CollectNews(){
...
}
ask by Pablitros translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…