mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-01-09 01:30:32 +01:00
Initial commit
This commit is contained in:
parent
0ff7fcc22e
commit
64bc796c7e
|
|
@ -15,13 +15,13 @@ lookupObject.Add(key: 2, value: "Beta");
|
|||
lookupObject.Add(key: 3, value: "Gamma");
|
||||
lookupObject.Add(key: harry, value: "Delta");
|
||||
|
||||
int key = 2; // lookup the value that has 2 as its key
|
||||
int key = 2; // look up the value that has 2 as its key
|
||||
|
||||
WriteLine(format: "Key {0} has value: {1}",
|
||||
arg0: key,
|
||||
arg1: lookupObject[key]);
|
||||
|
||||
// lookup the value that has harry as its key
|
||||
// look up the value that has harry as its key
|
||||
WriteLine(format: "Key {0} has value: {1}",
|
||||
arg0: harry,
|
||||
arg1: lookupObject[harry]);
|
||||
|
|
|
|||
|
|
@ -15,13 +15,13 @@ lookupObject.Add(key: 2, value: "Beta");
|
|||
lookupObject.Add(key: 3, value: "Gamma");
|
||||
lookupObject.Add(key: harry, value: "Delta");
|
||||
|
||||
int key = 2; // lookup the value that has 2 as its key
|
||||
int key = 2; // look up the value that has 2 as its key
|
||||
|
||||
WriteLine(format: "Key {0} has value: {1}",
|
||||
arg0: key,
|
||||
arg1: lookupObject[key]);
|
||||
|
||||
// lookup the value that has harry as its key
|
||||
// look up the value that has harry as its key
|
||||
WriteLine(format: "Key {0} has value: {1}",
|
||||
arg0: harry,
|
||||
arg1: lookupObject[harry]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue