原因之一是提高了可读性。哪个更好?
Dictionary<int, MyLongNamedObject> dictionary = new Dictionary<int, MyLongNamedObject>();
要么
var dictionary = new Dictionary<int, MyLongNamedObject>();
欢迎分享,转载请注明来源:内存溢出
原因之一是提高了可读性。哪个更好?
Dictionary<int, MyLongNamedObject> dictionary = new Dictionary<int, MyLongNamedObject>();
要么
var dictionary = new Dictionary<int, MyLongNamedObject>();
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)