C# Collections(blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4024) 4 years, 9 months ago

The thirty-sixth part of the C# Fundamentals tutorial introduces the use of collections in C#. A collection is similar to an array in that it contains a group of objects. However, the use of varying types of collection provide for more functionality.

2 comments |category: |Views: 17

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by kentcbkentcb(140) 4 years, 9 months ago 0

Very comprehensive article (so much so that I haven't finished reading). One minor thing I found: the example in the SyncRoot section locks the collection instance instead of the collection's SyncRoot. Thus if another thread is locking SyncRoot and not the collection instance, no synchronization will occur.

Reply

posted by BlackWaspBlackWasp(4024) 4 years, 7 months ago 0

Well spotted. Sometimes my fingers get carried away with themselves. I have fixed that omission.

Reply

information Login or create an account to comment on this story