Click here to Skip to main content
15,886,258 members

Comments by Guillaume Leparmentier (Top 8 by date)

Guillaume Leparmentier 21-Aug-13 5:27am View    
Reason for my vote of 2 \n Need more explanation on why "it is useful in programming", why using this approach instead of an existing (simple) ORM like PetaPoco, etc.

This is more a blog entry than an article for me
Guillaume Leparmentier 4-May-13 6:53am View    
Reason for my vote of 2 \n This explains why removing an element in a foreach loop will generate an error.

From msdn : (http://msdn.microsoft.com/en-us/library/vstudio/system.collections.ienumerator%28v=vs.100%29.aspx)

"An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated and the next call to MoveNext or Reset throws an InvalidOperationException."

As Oleg Shilo told you, your solution 2 is working because it's another collection. Thus, you're not using the Iterator from the orginal collection.
Guillaume Leparmentier 12-Jul-12 14:22pm View    
Reason for my vote of 4
Interesting approach :)

Using xslt to indent every xml node in the source file.. I think I'll use it.

And what about performance on a relatively huge xml file?
Guillaume Leparmentier 8-Jul-12 14:01pm View    
Reason for my vote of 3
More a tip than an article
Guillaume Leparmentier 3-Jun-12 7:24am View    
Reason for my vote of 3
I'm a bit disappointed :)

I thought I'll see a real autocomplete feature in MVC4. But it's only a basic usage of JQuery tabs and autocomplete plugins in javascript.

Anyway, thanks for your effort :)