日期:2014-05-20  浏览次数:21175 次

List.Select().ToList 五万条数据用了近半小时的,请问有没高效点的方法


var sendlist = emailList.Select(email => new MailMessage {
                                                    MailServer = SMTPServer,
                                                    UserName = Sender,
                                                    PassWord = EmailPassword,
                                                    ServerCode = ServerCode,

                                                    ToAddr = email.Email,
                                                    BCC = string.Empty,
                                                    CC = string.Empty,

                                                    Title =Tittle,
                                                    Body = Content,