This question shows research effort; it is useful and clear
2
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
给定这样的定义
public class KeyValueItem<K,V>
{
public K Key { get; set; }
public V Value { get; set; }
public override string ToString()
{
return T.ToString(); // does not compile
}
}
public class KeyValueItem<K,V>
{
public K Key { get; set; }
public V Value { get; set; }
public override string ToString()
{
return this.Value.ToString(); // does compile
}
}