C#
  Home arrow C# arrow Interface, IEnumerable and IEnumerator in ...
IBM developerWorks
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
C#

Interface, IEnumerable and IEnumerator in C#
By: James Yang
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 75
    2002-05-15

    Table of Contents:
  • Interface, IEnumerable and IEnumerator in C#
  • Object Oriented Programming
  • Using interfaces
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Interface, IEnumerable and IEnumerator in C#


    (Page 1 of 4 )

    The concept of an interface is an important element in object-oriented programming. It's what makes OOP so structured but flexible at the same time. In this article James shows us what an interface is and also shows us how to implement some pre-defined interfaces using C#.The concept of an interface is an important element in object-oriented programming. It's what makes OOP so structured but flexible at the same time. By creating interfaces and implementing interfaces, your applications become more reusable and open. Here, when I say open, I mean that it opens opportunities for developers to create applications that can work with other applications that aren’t their own.

    In this article we're going to examine interfaces in general, as well as C#'s IEnumerable and IEnumerator interfaces. By the end of this article you should have a fairly good idea of what an interface is, and you should also be able to comfortably implement your own interfaces into your C# applications.

    I will assume that you're at an intermediate level with C#, and that you are also familiar with OOP and many of its buzzwords, such as polymorphism, inheritance, class and object.

    More C# Articles
    More By James Yang


       · Nice article I got to say. Being an intermediate level developer I had a fair good...
     

    C# ARTICLES

    - Introduction to Objects and Classes in C#, P...
    - Visual C#.NET, Part 1: Introduction to Progr...
    - C# - An Introduction
    - Hotmail Exposed: Access Hotmail using C#
    - Razor Sharp C#
    - Introduction to Objects and Classes in C#
    - Making Your Code CLS Compliant
    - Programming with MySQL and .NET Technologies
    - Socket Programming in C# - Part II
    - Socket Programming in C# - Part I
    - Creational Patterns in C#
    - Type Conversions
    - Creating Custom Delegates and Events in C#
    - Inheritance and Polymorphism
    - Understanding Properties in C#







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway