Tech Tutorials Database
GeekArticles Microsoft C#
 

C# Custom Collection Implementation

 
Author: csharphelp.com
Category: C#
Comments (0)

By Andrew D. Tollington This sample shows a simple custom collection implementation in C# with the .NET Framework. using System; using System.Collections; namespace Personal.Demos.Simple{ public class MainApp{ //entry point 'Main' public static void Main(){ //get us some Widgets Widgets MyWidgets = Initialize(); Console.WriteLine("Using 'foreach' - "); //enumerate through the collection with //the foreach constuct. foreach(Widget W in MyWidgets){ //call the same method on each item in...n

Read More...



Read Next: Logic Game In C#



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe