3 public struct KeyValuePair
<K
,V
>
8 public KeyValuePair(K k
, V v
) { key = k; value = v; }
10 public KeyValuePair(K k
) { key = k; value = default(V); }
13 public class Collection
<T
>
15 public readonly T Item
;
17 public Collection (T item
)
22 public void Find (ref T item
)
30 public static int Main ()
32 KeyValuePair
<int,long> p
= new KeyValuePair
<int,long> (3);
33 KeyValuePair
<int,long> q
= new KeyValuePair
<int,long> (5, 9);
35 Collection
<KeyValuePair
<int,long>> c
= new Collection
<KeyValuePair
<int,long>> (q
);