Click here to Skip to main content

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsIs it better to call ToList() or ToArray() in LINQ queries? PinmemberClifford Nelson21-Nov-12 6:59 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? PinprotectorAspDotNetDev21-Nov-12 8:09 
AnswerRe: Is it better to call ToList() or ToArray() in LINQ queries? PinmemberClifford Nelson21-Nov-12 13:13 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? PinprotectorAspDotNetDev21-Nov-12 13:30 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? PinmemberAndrew Rissing21-Nov-12 8:57 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? PinmemberClifford Nelson21-Nov-12 12:59 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? PinprotectorMarc Clifton21-Nov-12 11:28 
AnswerRe: Is it better to call ToList() or ToArray() in LINQ queries? PinmemberClifford Nelson21-Nov-12 13:09 
I try to keep to the LINQ Enumerable, but definitely do not like it. The advantage and disadvantage of the LINQ Enumerable is that the LINQ statement is only executed when it is needed; That can cut down memory, and processing. Of course working with them in the debugger can be painful since you have to physically cause the LINQ to be executed with the Expand results. Also, after a while can no longer even get the LINQ to execute. I therefore will sometime convert to a List when programming so that debugging is easier, and when I am finished, convert back. I have also found that I need to convert to a List when working with EntityFramework because errors cause once out of the Object Context. I also have found that working with WPF binding, it can be advantageous to go with a List.
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? PinmemberMathlab21-Nov-12 11:52 
AnswerRe: Is it better to call ToList() or ToArray() in LINQ queries? PinmemberClifford Nelson21-Nov-12 13:11 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? Pinmemberibrahim_ragab21-May-13 12:51 
AnswerRe: Is it better to call ToList() or ToArray() in LINQ queries? PinmemberClifford Nelson23-May-13 6:24 
NewsWaiting for a Process to Exit PinstaffTerrence Dorsey20-Nov-12 12:37 
GeneralRe: Waiting for a Process to Exit PinmemberPIEBALDconsult20-Nov-12 15:05 
GeneralRe: Waiting for a Process to Exit PinprotectorAspDotNetDev20-Nov-12 15:20 
GeneralRe: Waiting for a Process to Exit PinmemberPIEBALDconsult20-Nov-12 15:24 
GeneralRe: Waiting for a Process to Exit PinmemberRavi Bhavnani21-Nov-12 7:36 
NewsILSpy versus .NET Reflector PinstaffTerrence Dorsey20-Nov-12 12:36 
GeneralRe: ILSpy versus .NET Reflector PinprotectorMarc Clifton20-Nov-12 13:12 
GeneralRe: ILSpy versus .NET Reflector PinmemberVallarasuS20-Nov-12 19:12 
GeneralRe: ILSpy versus .NET Reflector PinprotectorAspDotNetDev21-Nov-12 8:11 
NewsThe Early History Of Smalltalk PinstaffTerrence Dorsey20-Nov-12 12:36 
NewsC# to Objective-C - Part 1: Strings PinstaffTerrence Dorsey20-Nov-12 12:35 
GeneralRe: C# to Objective-C - Part 1: Strings PinmemberClifford Nelson20-Nov-12 13:26 
GeneralRe: C# to Objective-C - Part 1: Strings PinmemberDan Neely21-Nov-12 8:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150302.1 | Last Updated 4 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid