Re:The future of C# and Visual Basic [video]
by danbruc on Monday November 03, 2014 @06:35PM
(#8554280)
I don't think there is the distinction between Length and Count you draw - Count is O(1) for most collections, even LinkedList<T> maintains the number of elements in the list in a separate field. You could say Length does not change during the lifetime of an object while Count may do so, but I am not even sure if this distinction is always honored.
[ Parent
| on HN ]
Re:The future of C# and Visual Basic [video]
by noblethrasher on Monday November 03, 2014 @06:44PM
(#8554310)
Yes, I think you're right. I thought that I had read stuff about the name implying the complexity class, but my Google-Fu isn't turning anything up.