Usage of keywords "in" and "out" in C#(.NET 4.0)
摘要:Variance will only be supported in asafeway - in fact, using the abilities that the CLR already has. So the examples I give in the book of trying to use aList<Banana>as aList<Fruit>(or whatever it was) still won't work - but a few other scenarios will.Firstly, it will only be support
阅读全文
posted @
2011-09-29 15:55
wbqsln
阅读(243)
推荐(0) 编辑
面试题集-数组和字符串
摘要:哈希表While not all problems can be solved with hash tables, a shocking number of interview problems can be Before your interview, make sure to practice both using and implementinghash tables尽管哈希表不能解决所有的问题,但是面试中的大部分问题能用它解决。在面试之前一定要好好准备下哈希表的使用和实现。1 public HashMap buildMap(Student[] students) {2 HashMap
阅读全文
posted @
2011-03-22 18:47
wbqsln
阅读(1160)
推荐(1) 编辑