Thursday, 16 February 2017

c# - Why would anyone use IEnumerable?

Why would anyone use IEnumerable? What's missing in the List<>?



If every list implement the IEnumerable, so why would you want to implement it by yourself?



Can you give me a real life example?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...