Click here to Skip to main content
15,877,573 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get List Of Physical & Logical Drives Pin
Kevin Marois5-Jan-24 7:32
professionalKevin Marois5-Jan-24 7:32 
QuestionI need to convert a string to a float.... Pin
glennPattonWork33-Jan-24 2:15
professionalglennPattonWork33-Jan-24 2:15 
AnswerRe: I need to convert a string to a float.... Pin
Ron Nicholson3-Jan-24 2:23
professionalRon Nicholson3-Jan-24 2:23 
GeneralRe: I need to convert a string to a float.... Pin
glennPattonWork33-Jan-24 2:29
professionalglennPattonWork33-Jan-24 2:29 
GeneralRe: I need to convert a string to a float.... Pin
OriginalGriff3-Jan-24 5:05
mveOriginalGriff3-Jan-24 5:05 
AnswerRe: I need to convert a string to a float.... Pin
Richard Deeming3-Jan-24 2:30
mveRichard Deeming3-Jan-24 2:30 
GeneralRe: I need to convert a string to a float.... Pin
glennPattonWork33-Jan-24 2:51
professionalglennPattonWork33-Jan-24 2:51 
GeneralToList() or not to List. Pin
Gerry Schmitz16-Dec-23 10:10
mveGerry Schmitz16-Dec-23 10:10 
I notice that VS Intellisense wants to tag every LINQ query I code with ".ToList()".

It is in fact an extra step that imposes unnecessary overhead when all you need is an IEnumerable in the chain. It just gets worse as the "frame rate" increases. While List<> is prefered "internally", it doesn't pay to be reflex "converting" when it isn't necessary. (IMO)


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: ToList() or not to List. Pin
Dave Kreskowiak16-Dec-23 13:44
mveDave Kreskowiak16-Dec-23 13:44 
GeneralRe: ToList() or not to List. Pin
Gerry Schmitz17-Dec-23 5:27
mveGerry Schmitz17-Dec-23 5:27 
GeneralRe: ToList() or not to List. Pin
Dave Kreskowiak17-Dec-23 5:56
mveDave Kreskowiak17-Dec-23 5:56 
GeneralRe: ToList() or not to List. Pin
jschell18-Dec-23 5:54
jschell18-Dec-23 5:54 
GeneralRe: ToList() or not to List. Pin
harold aptroot17-Dec-23 6:15
harold aptroot17-Dec-23 6:15 
GeneralRe: ToList() or not to List. Pin
Pete O'Hanlon18-Dec-23 3:49
mvePete O'Hanlon18-Dec-23 3:49 
Questioncircular slider on winform Pin
sdecorme11-Dec-23 3:23
sdecorme11-Dec-23 3:23 
AnswerRe: circular slider on winform Pin
Ralf Meier11-Dec-23 3:42
mveRalf Meier11-Dec-23 3:42 
Questionwrite the C# windows form based program that allow user conversion of number system Pin
Kemal Tajudin10-Dec-23 8:13
Kemal Tajudin10-Dec-23 8:13 
AnswerRe: write the C# windows form based program that allow user conversion of number system Pin
Dave Kreskowiak10-Dec-23 15:31
mveDave Kreskowiak10-Dec-23 15:31 
AnswerRe: write the C# windows form based program that allow user conversion of number system Pin
jschell11-Dec-23 4:36
jschell11-Dec-23 4:36 
QuestionC# multi agent framework based on MS Orleans Pin
Jerome Fortias 20229-Dec-23 5:10
Jerome Fortias 20229-Dec-23 5:10 
AnswerRe: C# multi agent framework based on MS Orleans Pin
Gerry Schmitz9-Dec-23 6:37
mveGerry Schmitz9-Dec-23 6:37 
GeneralRe: C# multi agent framework based on MS Orleans Pin
Jerome Fortias 20229-Dec-23 7:59
Jerome Fortias 20229-Dec-23 7:59 
QuestionMessenger design with C# Pin
parya mardani8-Dec-23 12:05
parya mardani8-Dec-23 12:05 
AnswerRe: Messenger design with C# Pin
Dave Kreskowiak8-Dec-23 14:28
mveDave Kreskowiak8-Dec-23 14:28 
AnswerRe: Messenger design with C# Pin
Gerry Schmitz9-Dec-23 6:35
mveGerry Schmitz9-Dec-23 6:35 

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.