C# Indexers(blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 4 years, 4 months ago

The thirteenth part of the C# Object-Oriented Programming tutorial describes the use of indexers. A class that has an indexer can be used in a similar manner to an array. Objects of the class can use array-style notation to present multiple values.

1 comment |category: |Views: 1

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 crpietschmanncrpietschmann(11.3k) 4 years, 4 months ago 0

I blogged about this about functionality about 10 months ago. Here's a link to mine, so someone can see yet another small example of how to implement a Default Indexer Property in C#:
http://pietschsoft.com/Blog/Post.aspx?PostID=1357

Reply

information Login or create an account to comment on this story