The line 2 of the above code tried to convert IEnumerable<string> to IEnumerable<object>. You can see that the generic type is converted from string to object. This… Read more “Generic Variance”
Tag: C#
.Net Assembly and Module
时不时地在.Net中接触到module这个概念,费解了好久。 先说说Assembly吧,一个dll或者一个exe就是一个assembly。Physically, we can compile related code files into an assembly. Assembly is the minimum unit of deployment.Logically, an assembly can have one or more modules which are… Read more “.Net Assembly and Module”