3 ms·
Its not as hard when you format it a little nicer (and when you have syntax colouring) [SerializableAttribute] [ComVisibleAttribute(false)] public class Dict
by katbyte 12y ago
Its not as hard when you format it a little nicer (and when you have syntax colouring)
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class Dictionary<TKey, TValue> :
IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>,
IDictionary,
ICollection,
IReadOnlyDictionary<TKey, TValue>,
IReadOnlyCollection<KeyValuePair<TKey, TValue>>,
IEnumerable<KeyValuePair<TKey, TValue>>,
IEnumerable,
ISerializable,
IDeserializationCallback
{
...
}
And this is of course ignoring the fact you copied that from the documentation witch shows all interfaces the class implements. IDictionary also implements ICollection & IEnumerable so you wouldn't need to include them. So to actually implement this class it would more likely be
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class Dictionary<TKey, TValue> :
IDictionary<TKey, TValue>,
IDictionary,
IReadOnlyDictionary<TKey, TValue>,
ISerializable,
IDeserializationCallback
{
...
}
maybe less