Iterators enable iterations (or looping) on user defined data types with the C# foreach loop. Currently (in C# 1.x) to enable a type to be iterated through the foreach loop, the type must implement the IEnumerable interface which contains only a single method GetEnumerator() that returns an object of type IEnumerator. The IEnumerator interface contains [...]
Posts Tagged ‘foreach’
Iterators – a simple syntax for the foreach loop
Posted in .Net Articles, C#, tagged foreach, Iterators on July 22, 2008 | 1 Comment »
Notice
The postings in this blog are provided "AS IS" with no warranties, and confers no rights. Your Comments and Feedbacks are welcome.Pages
Archives
- September 2008 (1)
- August 2008 (14)
- July 2008 (38)
Meta
-
Recent Posts
-
Recent Comments
- sonu on Software eBooks
- tahmina tamanna on Interview with Dr.Devi Shetty – Cardiologist
- tansen on Placement & HR Consultants, Bangalore, INDIA
- Indu on Software eBooks
- Manish Shukla on Job Placement Consultants in Bangalore, India
-
Blog Stats
- 35,440 hits
-
Top Clicks
-
Top Posts
Tags
.net faq .net interview Ajax bangalore best reusme C# caching in asp.net can you beat this resume consultants contra variance covariance database caching Delay Signing delegates Dr. Manmohan Singh extern fitness fixed size buffers foreach form authentication friend assembly fun global assembly Health highly qualified person hr india interface Iterators javascript nullable types oop concepts partial types per capita income phone numbers placement prime minister reference Remoting resume role based sending email in .net shared assembly static classes xml