Click here to Skip to main content

Welcome to the Lounge


For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.

GeneralRe: .NET Framework Logic PinmemberMike Marynowski5-Jul-13 20:42 
GeneralRe: .NET Framework Logic PinmemberMike Marynowski5-Jul-13 20:45 
GeneralRe: .NET Framework Logic PinmvpRichard MacCutchan5-Jul-13 23:51 
GeneralRe: .NET Framework Logic PinprotectorMarc Clifton6-Jul-13 3:36 
OriginalGriff wrote:
why does an array have a Length, and a collection a Count?

An array is a contiguous block of memory having a specific allocation length, whereas a collection is a "bag" of items having a count. At least, that's how I always think about it. Smile | :)

GeneralRe: .NET Framework Logic PinmemberMike-MadBadger6-Jul-13 0:14 
GeneralRe: .NET Framework Logic PinmemberH.Brydon6-Jul-13 4:33 
GeneralRe: .NET Framework Logic Pinmemberjschell6-Jul-13 7:28 
GeneralRe: .NET Framework Logic PinsitebuilderNish Sivakumar6-Jul-13 7:41 
GeneralRe: .NET Framework Logic PinmemberBillWoodruff6-Jul-13 20:05 
GeneralRe: .NET Framework Logic PinprofessionalBrisingr Aerowing7-Jul-13 6:24 

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
Web03 | 2.8.150327.1 | Last Updated 31 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid