C# Corner

Resources  
  • Binary Search Using ArrayList Jan 10, 2000. The ArrayList class provide binary search algorithm and more...
  • Add/Remove User Control for C#Jan 18, 2000. A nice feature in the Visual.NET environment is the ability to create User Controls.
  • Get the Place Game in C#Aug 14, 2001. I have written a game in C# called Get the Place.
  • Messaging between Threads using Message LoopAug 20, 2001. MessageLoopLib is a stripped down version of a complete, threading communication subsystem Ive written. This implementation is a single thread created in the GUI constructor. Ive dropped all thread management and have had to change some of the message code to accommodate this.
  • Displaying Exception InformationAug 21, 2001. This is a simple utility to display exceptions. Each exception in the chain is added to an ArrayList and displayed in reverse order in a ListView control.
  • Horoscope Unit of Mobile SiteSep 06, 2001. Horoscope Service for Your Mobile.
  • Returning an Array Listing using Remote Procedure CallDec 26, 2001. In this article we will create a Web Service that will return an ArrayList of students.
  • Mortgage Calculator in C#Mar 22, 2002. Mortgage Calculator is a C# Application developed for calculating the detailed monthly mortgage payments based on the loan amount, down payment, interest rate, mortgage duration.
  • Reflecting Data in .NET Classes - Part IV: From Database TableApr 08, 2002. In this article, we will be looking at how to "reflect" data from the most common data source - Database tables.
  • An XY Plot User Control in GDI+May 24, 2002. This is a follow up of the article written originally for the beta version of .NET. called, A Graphics Component in C#.
  • Generating Maze using C# and .NETSep 25, 2002. Did you ever get the feeling that cubicles were laid out with the idea that there could be no escape? (Must be I am a bit overworked these days). Today's article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.
  • Consumer/Producer Multithreaded ProgramNov 04, 2002. This is simple multi-threading program that adds and removes elements in an ArrayList. Producer button will creates a producer thread that adds elements in to the ArrayList. The maximum number of elements can be added to this ArrayList are 100 elements and the producer thread has to wait until the consumer thread/threads (creates by pressing consumer button) removes elements from the ArrayList. Then Producer thread starts to add more elements to the ArrayList.
  • Using Linked List in C#Jun 25, 2003. What we going to make is a linked list. Yeah I know there is a class which does the same as a linked list called ArrayList, but we (as a diehard C# programmer) want absolute control and knowledge of what we use.
  • Boxing and Unboxing of Value Types : What You Need to Know?Jul 21, 2003. Programmers new to C# can encounter less than ideal performance and even unexpected results due to boxing and unboxing of value types.
  • Lingo Game in C#Jul 30, 2003. It is a Lingo game developed in C#. It is based upon Game Show Network's Lingo but has a few modifications to it.
  • In Depth ASP.NET using ADO.NET: Part IVNov 18, 2003. In this tutorial we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part IINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part IIINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • Audio Video Modules for ASP.NET Community Starter Kit : Part IIJan 19, 2004. In this article, we will build an additional module for ASP.net CommunityStarterKit that enables you to publish audio and video contents. This module works together with Windows Media Services and it is written in C#. You have to install CommunityStarterKit (C# version for VS) to follow this article.
  • Shopping Cart Application in ASP.NETApr 22, 2004. This is an online shopping cart application written in ASP.NET and C# where user can browse, add items to the shopping cart and place orders.
  • Line Count UtilityJun 12, 2004. Program returns count of code lines and file names in which code lines will be counted.
  • Object Binding in DataGrid with C#Jun 15, 2004. In this article, I will discuss how to bind objects such as an ArrayList to a DataGrid control using C#.
  • Thread Safe Collections ArrayList and QueueSep 24, 2004. The attached project provides a dll containing a wrapper around the non-thread safe ArrayList and Queue classes. The wrapper implements the most common functions of this collection elements.
  • Sokoban Pro Game in C#Jan 21, 2005. Sokoban Pro is a modern version of the classic Sokoban puzzle game. The game rules are extremely simple, yet the game is very challenging and addictive. The rule of the game is to move all the boxes in the right places. You can only push a box, not pull.
  • How to Interpret Handwriting with C#Sep 02, 2005. In this article, I'll try to explain how to recognize handwriting with C# and GDI+.
  • How do I Convert a String to an Enum Value?Sep 10, 2005. In this How do I, you will learn how to convert a string to an enum value in C#.
  • Binding an ArrayList with DataGrid ControlOct 24, 2005. I have seen several questions on how to bind an ArrayList with data-bound controls such as a DataGrid. In this step by step tutorial, I will show how to create an ArrayList of objects and bind it to a DataGrid control.
  • Designing Sortable Collections using IComparableNov 21, 2005. If you are dealing with collection of objects, there are times when you need to sort the object collection. In this article, I will discuss how to use IComparable interface to design sortable arrays.
  • Limitations of ArrayLists in C#Apr 13, 2006. This article discusses some features of ArrayLists and there shortcomings/limitations.
  • Generics in C# 2.0Apr 17, 2006. This articles comes in series with my last article - <a href= http://www.c-sharpcorner.com/UploadFile/Saurabh.Mishra/GenericsInC2PartI04122006074306AM/GenericsInC2PartI.aspx class=normal>Limitations in ArrayLists</a>. In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • Collections in C#: ArrayList and ArraysOct 10, 2009. This article explains the Collection classes in .NET. This first part explains the ArrayList class, advantages, disadvantages and differences with Array.
  • ArrayList in C#Jan 21, 2010. This article discusses how to use ArrayList class in C#.
  • Retrieve all images from a folder and display them using a DataList controlMar 08, 2011. With the use of the code provided here you can retrieve all images from any folder and display them in the form using a DataList control of ASP.Net.
  • Getting Familiar With the Type Related Extenstion Methods – Select(), Cast() and OfType()May 14, 2011. The class Enumerables.cs provides various extension methods for the built-in classes like IList, ArrayList, IEnumerable etc.
  • BinarySearch, Sort And Reverse Method of ArrayList in C#Jan 10, 2012. The ArrayList class provides a number of properties and methods that are used to work with an ArrayList.
  • C# ArrayListJun 08, 2012. In this article, I will explain the ArrayList class and how to use it in C#.
  • Language Integrated Query (LINQ): Part 3Sep 03, 2012. In this article, you will learn something about "Generic" collections such as what they are and why we need them in LINQ.
  • Using .NET Collections With C#Feb 28, 2013. .NET offers a variety of collections such as ArrayList, Hashtable, queues, Dictionaries.
  • Learn About ArrayList in C # (Part 2)Apr 25, 2013. This article provides examples of two methods to browse an ArrayList.
  • Learn About ArrayList in C#: Part 1Apr 25, 2013. ArrayList is a dynamic array that can be resized when we declare indefinite number of elements in the array.
  • Var Keyword in C# ProgrammingApr 26, 2013. In .Net 3.0 Microsoft has added the var keyword in the keyword library of .Net. programming.
  • Working With Collection Framework In JavaMay 30, 2013. In this article we discuss the Collection Framework in Java and start working with the ArrayList class.
  • How ArrayList Class In Java Collections Are UsedMay 31, 2013. This article describes how the ArrayList class in Java Collections work.
  • Array, ArrayList, List and Dictionary in ASP.NetNov 27, 2013. This article attempts to explain Array, ArrayList, List and Dictionary with very basic examples; once you go this article I hope the next time you will feel a little more comfortable deciding what to choose and why.
  • ArrayList in C#Dec 19, 2013. This article discusses how to use the ArrayList class in C#.
  • Array and ArrayList in C#Oct 08, 2014. In this article we learn what an array object and ArrayList are in C#.
  • An Extensive Examination Of ArrayList in C#Mar 13, 2015. In this article we will learn about ArrayList in C#.

About ArrayList

Array List is part of collection framework which grow up size in nature. Array List mainly use when we wants to store dynamic objects means that A array type which is dynamic update called Dynamic Array. Array List Auto increment/decrement called resizable array implementation the List interface which have all optional list operations, and permits all elements, including null. In addition to implementing the List interface, this class provides methods to manipulate the size of the array that is used internally to store the list. Array List resize with half of size exiting list size if we add any new item when array size full then Array List Automatically grow up actual List Size/2 half of size. The main feature of Array List it is Non Synchronized in which we can run multiple task at a same time.

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Download Free eBooks