DotNetShoutout - Stories tagged with Indexer
3
Shouts

How to cook a loop

posted by slo2olsslo2ols 663 days, 11 hours, 11 minutes ago
Tuesday, July 26, 2011 10:43:30 AM GMT
With coming of Linq we rarely write loops. Actually, the most part of data fetching tasks, those earlier was done by loops, today could be simply done by Linq-to-Objects. Nevertheless, the loops are widely used for different scenarios and a developer should try to write a good loop. This post was written for beginners, but I hope that experienced developers will find in it something useful. (more)
category: How To | clicked: 4 | comment | | source: osmirnov.net
tags: C#, Indexer, Linq, Loop, enumerator
2
Shouts

C#: Fun with Indexers « Mehroz’s Experiments

posted by mehrozmehroz 871 days, 17 hours, 28 minutes ago
Thursday, December 30, 2010 4:25:48 AM GMT
This post refers to an interesting situation when you create a class in C# with an indexer and a property named "Item". Read more to see why this is not simultaneously possible. (more)
category: How To | clicked: 0 | comment | | source: smehrozalam.wordpress.com
tags: .NET, C#, property, Indexer, item
2
Shouts

Indexer class in C#

posted by http://jalpesh.blogspot.com/http://jalpesh.blogspot.com/ 1156 days, 11 hours, 56 minutes ago
Saturday, March 20, 2010 9:57:40 AM GMT
While taking interviews for Microsoft.NET i often ask about indexer classes in C#.NET and i found that most of people are unable to give answer that how we can create a indexer class in C#.NET. We know the array in C#.NET and each element in array can be accessed by index same way for indexer class a object was class can be accessed by index. Its very easy to create a indexer class in C#. First lets looks some points related to indexer class in C#.Indexer class object can be accessed by index only.We can... (more)
category: Web Dev | clicked: 0 | comment | | source: jalpesh.blogspot.com
tags: C#.NET, Indexer