C#: boxing, an example
Signature for hash table Add method:
Add(object key,object val)
In C# code, you can write:
Hashtable h = new Hashtable();
h.Add(5,”five”);
Previous slide
Next slide
Back to first slide
View graphic version