Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
Comparison of programming languages (associative array): Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 16:42, 18 September 2013
edit
War
(
talk
|
contribs
)
Extended confirmed users
2,178
edits
m
→
Standard ML
← Previous edit
Revision as of 23:53, 27 October 2013
edit
undo
144.124.58.60
(
talk
)
→
C#
Next edit →
Line 66:
The dictionary can also be initialized with all entries during construction. This is called "object initialization".
<source lang=CSharp>
Dictionary<string, string>
var
dic = new Dictionary<string, string>
{
{"Sally Smart", "555-9999"},