Click here to Skip to main content
15,890,717 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Marc Codes a Bug Pin
harold aptroot20-Sep-17 7:40
harold aptroot20-Sep-17 7:40 
GeneralRe: Marc Codes a Bug Pin
Marc Clifton20-Sep-17 7:49
mvaMarc Clifton20-Sep-17 7:49 
GeneralRe: Marc Codes a Bug Pin
Tim Carmichael20-Sep-17 8:54
Tim Carmichael20-Sep-17 8:54 
GeneralRe: Marc Codes a Bug Pin
Marc Clifton20-Sep-17 9:45
mvaMarc Clifton20-Sep-17 9:45 
GeneralRe: Marc Codes a Bug Pin
Tim Carmichael20-Sep-17 11:10
Tim Carmichael20-Sep-17 11:10 
GeneralRe: Marc Codes a Bug Pin
Marc Clifton20-Sep-17 15:13
mvaMarc Clifton20-Sep-17 15:13 
GeneralRe: Marc Codes a Bug Pin
Dan Neely21-Sep-17 2:39
Dan Neely21-Sep-17 2:39 
GeneralRe: Marc Codes a Bug Pin
Marc Clifton20-Sep-17 7:43
mvaMarc Clifton20-Sep-17 7:43 
RickZeeland wrote:
This seems to be about the same problem


Yeah. I should have realized the problem because I wasn't required to use a lambda. Enumerable.Repeat(()=>new Client(), 10); would be the expected syntax.

RickZeeland wrote:
But I also read that using for loops is a lot faster than using Linq ...


Meh. For a service that gets called once a day and creates at most 1 to maybe 5 instances, I don't really care. The real travesty IMO is the ToArray() call because the web service interface where this gets assigned requires an array. Poke tongue | ;-P

Marc
Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Marc Codes a Bug Pin
OriginalGriff20-Sep-17 7:39
mveOriginalGriff20-Sep-17 7:39 
GeneralRe: Marc Codes a Bug Pin
Marc Clifton20-Sep-17 7:44
mvaMarc Clifton20-Sep-17 7:44 
GeneralRe: Marc Codes a Bug Pin
S Douglas20-Sep-17 8:40
professionalS Douglas20-Sep-17 8:40 
AnswerEasy fix, Marc Pin
Nish Nishant20-Sep-17 8:11
sitebuilderNish Nishant20-Sep-17 8:11 
GeneralRe: Easy fix, Marc Pin
Marc Clifton20-Sep-17 8:16
mvaMarc Clifton20-Sep-17 8:16 
GeneralRe: Easy fix, Marc Pin
Nish Nishant20-Sep-17 8:21
sitebuilderNish Nishant20-Sep-17 8:21 
GeneralRe: Easy fix, Marc Pin
Marc Clifton20-Sep-17 8:30
mvaMarc Clifton20-Sep-17 8:30 
GeneralRe: Easy fix, Marc Pin
Nish Nishant20-Sep-17 8:36
sitebuilderNish Nishant20-Sep-17 8:36 
GeneralRe: Marc Codes a Bug Pin
Richard Deeming20-Sep-17 10:36
mveRichard Deeming20-Sep-17 10:36 
GeneralRe: Marc Codes a Bug Pin
Marc Clifton20-Sep-17 14:48
mvaMarc Clifton20-Sep-17 14:48 
GeneralWhy (ouch) Upper (ouch) Case (ouch) sucks today Pin
Gary Wheeler20-Sep-17 5:41
Gary Wheeler20-Sep-17 5:41 
GeneralRe: Why (ouch) Upper (ouch) Case (ouch) sucks today Pin
Bassam Abdul-Baki20-Sep-17 5:47
professionalBassam Abdul-Baki20-Sep-17 5:47 
GeneralRe: Why (ouch) Upper (ouch) Case (ouch) sucks today Pin
OriginalGriff20-Sep-17 6:02
mveOriginalGriff20-Sep-17 6:02 
GeneralRe: Why (ouch) Upper (ouch) Case (ouch) sucks today Pin
Gary Wheeler20-Sep-17 6:06
Gary Wheeler20-Sep-17 6:06 
GeneralRe: Why (ouch) Upper (ouch) Case (ouch) sucks today Pin
User 1106097920-Sep-17 6:05
User 1106097920-Sep-17 6:05 
GeneralRe: Why (ouch) Upper (ouch) Case (ouch) sucks today Pin
Gary Wheeler20-Sep-17 6:07
Gary Wheeler20-Sep-17 6:07 
GeneralRe: Why (ouch) Upper (ouch) Case (ouch) sucks today Pin
OriginalGriff20-Sep-17 6:23
mveOriginalGriff20-Sep-17 6:23 

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.