Collections code snippets (22/32)

How to create readonly collection

Published: 14. February 2012 | Updated: 14. February 2012
Categories: Collections
Tags: C# Collections Linq

How to use collection initializers

Published: 25. November 2011 | Updated: 25. November 2011
Categories: Collections
Tags: C# Collections

How to create range of numbers

Published: 25. November 2011 | Updated: 25. November 2011
Categories: Collections Math
Tags: C# Collections Math

How to make paging in collections

Published: 11. November 2011 | Updated: 11. November 2011
Categories: Collections
Tags: C# Collections Linq

How to update dictionary value

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Collections
Tags: Basics C# Collections

How to iterate dictionary

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Collections
Tags: Basics C# Collections

How to get key from dictionary by value

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Collections
Tags: C# Collections Linq

How to get value in dictionary by key

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Collections
Tags: Basics C# Collections

How to get values from dictionary

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Collections
Tags: Basics C# Collections

How to use yield return keyword

Published: 14. October 2011 | Updated: 14. October 2011
Categories: Collections
Tags: C# Collections

How to join two lists

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Collections
Tags: C# Collections

How to use Stack collection

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Collections
Tags: C# Collections

How to use Queue collection

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Collections
Tags: C# Collections

How to use SortedDictionary

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Collections
Tags: C# Collections

How to use generic SortedList

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Collections
Tags: C# Collections

How to break out of loop

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Collections
Tags: C# Collections

How to use IEnumerator

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Collections
Tags: C# Collections

How to sort collection

Published: 30. September 2011 | Updated: 30. September 2011
Categories: Collections
Tags: C# Collections

How to reverse collection

Published: 30. September 2011 | Updated: 30. September 2011
Categories: Collections
Tags: C# Collections

How to create comparer for collection sorting

Published: 8. January 2009 | Updated: 8. January 2009
Categories: Collections Implementations
Tags: C# Collections Design Patterns