Skip to content

Commit 5e31f13

Browse files
ClémentClément
authored andcommitted
Adding missing file.
1 parent 7eb06dd commit 5e31f13

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

source/code/projects/Dictionary_chaining/Dictionary/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32

43
class Program
54
{
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// A simple, dummy class, to illustrate that
2+
// dictionaries can contain any type of
3+
// values, even complex ones.
4+
public class Address
5+
{
6+
public string Street { get; set; }
7+
8+
public Address(string streetP)
9+
{
10+
Street = streetP;
11+
}
12+
13+
public override string ToString()
14+
{
15+
return Street;
16+
}
17+
}

source/code/projects/Dictionary_open_addressing/Dictionary/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32

43
class Program
54
{

0 commit comments

Comments
 (0)