EVENT DRIVEN (HANDOUT2)

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Collections

there is a group of objects that provides a standard set of types for storing and managing collections of object.

2
New cards

2 types of collections

Standard Collections

Generic Collections

3
New cards

Standard Collections

these are found in the System.Collections namespace.

4
New cards

Generic Collections

there is a group of objects that provides a standard set of types for storing and managing collections of object.

5
New cards

ArrayList

this is a collection class that is known for an ordered collection of object.

it is known as a dynamic since items can be added and removed from the specified index location.

6
New cards

HashTable

this class stores key or value pairs where the key represents the value in the collection.

when accessing values in this class, the key must be specified.

7
New cards

SortedList

this class is a combination or ArrayLis and HashTable.

it stores key or value pairs where the key values sort values.

8
New cards

Stack

this represents a Last In, First Out (LIFO) collection of objects.

pop - insert
push - removing

9
New cards

Queue

this class represents a First In, First Out (FIFO) collection of objects.

enqueue - adding
dequeue - removing

10
New cards

IEnumerable

it is an interface that allows you to loop through elements in a collection.

11
New cards

ICollection

it is an interface that allows you to determine the number of elements in a collections and copy them in a simple array type.

12
New cards

IDictionary

it is an interface that provides a list of elements that are accessible via a key or value rather than an index.

13
New cards

Generics

allows specifying the data types of the programming elements when they are actually used in the program.

when using this, it allows creating collections like linkedlists, hashtables, stacks, and queue that operates on an item of any data type.L

14
New cards

List <T>

a generic collection that provides an efficient and dynamically allocated array, which is commonly used to store a list of duplicate objects.

can grow and shrink with the number of objects.

List<T> variableName = new List<T>();

15
New cards

Queue<T>

a generic collection that represents (FIFO) collection objects.

Queue<T> ageQueue = new Queue<int>();

16
New cards

Stack<T>

a generic collection represent (LIFO) collection of instances.

Stack<int> ageStack = new Stack<int>(20);

17
New cards