E-Books
Programming Dictionary in C#
  • Date Posted: June 20, 2012
  • Visits: 29104
  • Downloaded: 15013
  • Pages: 6
  • Book Type: PDF
  • Author: Mahesh Chand
Summary:

This free book courtesy C# Corner and Mindcracker Network is all about how to use a dictionary in C#.


Intoduction:

A dictionary type represents a collection of keys and values pair of data. 

The Dictionary class defined in the System.Collections.Generic namespace is a generic class and can store any data types in a form of keys and values. Each key must be unique in the collection. Before you use the Dictionary class in your code, you must import the System.Collections.Generic namespace.

Topics covered in this book

  • What is Dictionary
  • How to define and create a Dictionary
  • How to add items to a Dictionary
  • How to remove all or a single item from the Dictionary
  • How to loop through all items in a Dictionary
  • How to find a key or a value in a Dictionary
  • How to read all keys in a Dictionary
  • How to read all values in Dictionary

 

 


COMMENT USING

PREMIUM SPONSORS

Hire Mobile & Web Developer on demand. 100% satisfaction. Try for 1 week or Money Back. Local and remote developers available all over USA.

MOST DOWNLOADED

SPONSORED BY

  • MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.