Click here to Skip to main content
15,560,987 members
Home / Discussions / C#
   

C#

 
AnswerRe: concatenate the word document, it's possible? Pin
RaviRanjanKr26-May-11 2:55
professionalRaviRanjanKr26-May-11 2:55 
GeneralRe: concatenate the word document, it's possible? Pin
abbd26-May-11 3:33
abbd26-May-11 3:33 
QuestionProblem in Deserializing the XML Pin
Rocky2324-May-11 5:06
Rocky2324-May-11 5:06 
AnswerRe: Problem in Deserializing the XML Pin
PIEBALDconsult24-May-11 6:32
professionalPIEBALDconsult24-May-11 6:32 
Questionhow to make multiple asynchronous web service method calls in the same thread? [modified] Pin
JUNEYT24-May-11 3:57
JUNEYT24-May-11 3:57 
AnswerRe: how to make multiple asynchronous web service method calls in the same thread? [modified] Pin
Mark Salsbery24-May-11 6:27
Mark Salsbery24-May-11 6:27 
QuestionHow to acheive this in LINQ? Pin
John-ph24-May-11 2:53
John-ph24-May-11 2:53 
AnswerRe: How to acheive this in LINQ? Pin
Groulien24-May-11 3:02
Groulien24-May-11 3:02 
I don't think LINQ is meant to do this.
LINQ is "Language Integrated Query", a query being something of a question used to select, modify or delete data.
The performance gain, if any, will be slight.
I actually think it might slow it down.
But if you must...
(Doing this from memory)
C#
List<MyStyle> styles = new List<MyStyle>();
styles.AddRange((MyStyle[])(from item in items select GetMyStyle(item.style)).ToArray());

GeneralRe: How to acheive this in LINQ? Pin
John-ph24-May-11 3:50
John-ph24-May-11 3:50 
AnswerRe: How to acheive this in LINQ? PinPopular
Pete O'Hanlon24-May-11 3:23
mvaPete O'Hanlon24-May-11 3:23 
GeneralRe: How to acheive this in LINQ? Pin
Groulien24-May-11 3:27
Groulien24-May-11 3:27 
GeneralRe: How to acheive this in LINQ? Pin
Pete O'Hanlon24-May-11 3:28
mvaPete O'Hanlon24-May-11 3:28 
GeneralRe: How to acheive this in LINQ? Pin
John-ph24-May-11 3:41
John-ph24-May-11 3:41 
GeneralRe: How to acheive this in LINQ? Pin
Pete O'Hanlon24-May-11 3:42
mvaPete O'Hanlon24-May-11 3:42 
AnswerRe: How to acheive this in LINQ? Pin
Sanjay J Patolia25-May-11 3:22
Sanjay J Patolia25-May-11 3:22 
AnswerRe: How to acheive this in LINQ? [modified] Pin
Subin Mavunkal25-May-11 4:12
Subin Mavunkal25-May-11 4:12 
QuestionIDisposable and CA2000 warning during Vs2010 Code Analysis. Pin
gumi_r@msn.com24-May-11 2:32
gumi_r@msn.com24-May-11 2:32 
AnswerRe: IDisposable and CA2000 warning during Vs2010 Code Analysis. Pin
Subin Mavunkal24-May-11 3:23
Subin Mavunkal24-May-11 3:23 
GeneralRe: IDisposable and CA2000 warning during Vs2010 Code Analysis. Pin
Pete O'Hanlon24-May-11 3:27
mvaPete O'Hanlon24-May-11 3:27 
GeneralRe: IDisposable and CA2000 warning during Vs2010 Code Analysis. Pin
gumi_r@msn.com24-May-11 3:39
gumi_r@msn.com24-May-11 3:39 
GeneralRe: IDisposable and CA2000 warning during Vs2010 Code Analysis. Pin
Subin Mavunkal24-May-11 3:46
Subin Mavunkal24-May-11 3:46 
GeneralRe: IDisposable and CA2000 warning during Vs2010 Code Analysis. Pin
Pete O'Hanlon24-May-11 3:48
mvaPete O'Hanlon24-May-11 3:48 
GeneralRe: IDisposable and CA2000 warning during Vs2010 Code Analysis. [modified] Pin
gumi_r@msn.com24-May-11 4:28
gumi_r@msn.com24-May-11 4:28 
GeneralRe: IDisposable and CA2000 warning during Vs2010 Code Analysis. Pin
Subin Mavunkal24-May-11 4:40
Subin Mavunkal24-May-11 4:40 
GeneralRe: IDisposable and CA2000 warning during Vs2010 Code Analysis. Pin
DaveyM6925-May-11 0:40
professionalDaveyM6925-May-11 0:40 

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.