Click here to Skip to main content
15,887,267 members

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? Pin
Clifford Nelson21-Nov-12 5:59
Clifford Nelson21-Nov-12 5:59 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
AspDotNetDev21-Nov-12 7:09
protectorAspDotNetDev21-Nov-12 7:09 
AnswerRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
Clifford Nelson21-Nov-12 12:13
Clifford Nelson21-Nov-12 12:13 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
AspDotNetDev21-Nov-12 12:30
protectorAspDotNetDev21-Nov-12 12:30 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
Andrew Rissing21-Nov-12 7:57
Andrew Rissing21-Nov-12 7:57 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
Clifford Nelson21-Nov-12 11:59
Clifford Nelson21-Nov-12 11:59 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
Marc Clifton21-Nov-12 10:28
mvaMarc Clifton21-Nov-12 10:28 
AnswerRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
Clifford Nelson21-Nov-12 12:09
Clifford Nelson21-Nov-12 12: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? Pin
CafedeJamaica21-Nov-12 10:52
professionalCafedeJamaica21-Nov-12 10:52 
AnswerRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
Clifford Nelson21-Nov-12 12:11
Clifford Nelson21-Nov-12 12:11 
GeneralRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
ibrahim_ragab21-May-13 11:51
professionalibrahim_ragab21-May-13 11:51 
AnswerRe: Is it better to call ToList() or ToArray() in LINQ queries? Pin
Clifford Nelson23-May-13 5:24
Clifford Nelson23-May-13 5:24 
NewsWaiting for a Process to Exit Pin
Terrence Dorsey20-Nov-12 11:37
sitebuilderTerrence Dorsey20-Nov-12 11:37 
GeneralRe: Waiting for a Process to Exit Pin
PIEBALDconsult20-Nov-12 14:05
mvePIEBALDconsult20-Nov-12 14:05 
GeneralRe: Waiting for a Process to Exit Pin
AspDotNetDev20-Nov-12 14:20
protectorAspDotNetDev20-Nov-12 14:20 
GeneralRe: Waiting for a Process to Exit Pin
PIEBALDconsult20-Nov-12 14:24
mvePIEBALDconsult20-Nov-12 14:24 
GeneralRe: Waiting for a Process to Exit Pin
Ravi Bhavnani21-Nov-12 6:36
professionalRavi Bhavnani21-Nov-12 6:36 
NewsILSpy versus .NET Reflector Pin
Terrence Dorsey20-Nov-12 11:36
sitebuilderTerrence Dorsey20-Nov-12 11:36 
GeneralRe: ILSpy versus .NET Reflector Pin
Marc Clifton20-Nov-12 12:12
mvaMarc Clifton20-Nov-12 12:12 
GeneralRe: ILSpy versus .NET Reflector Pin
VallarasuS20-Nov-12 18:12
VallarasuS20-Nov-12 18:12 
GeneralRe: ILSpy versus .NET Reflector Pin
AspDotNetDev21-Nov-12 7:11
protectorAspDotNetDev21-Nov-12 7:11 
NewsThe Early History Of Smalltalk Pin
Terrence Dorsey20-Nov-12 11:36
sitebuilderTerrence Dorsey20-Nov-12 11:36 
NewsC# to Objective-C - Part 1: Strings Pin
Terrence Dorsey20-Nov-12 11:35
sitebuilderTerrence Dorsey20-Nov-12 11:35 
GeneralRe: C# to Objective-C - Part 1: Strings Pin
Clifford Nelson20-Nov-12 12:26
Clifford Nelson20-Nov-12 12:26 
GeneralRe: C# to Objective-C - Part 1: Strings Pin
Dan Neely21-Nov-12 7:28
Dan Neely21-Nov-12 7:28 

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

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