|
13:class Class1 { public static int Count = 0; static Class1() { Count++; } public Class1() { Count++; } } Class1 o1 = new Class1(); Class1 o2 = new Class1(); 请问,Class1.Count的值是多少? A.1 B.2 C.3 D.4 14:public static void Main(string[] args) { int i = 2000; object o = i; i = 2001; int j =(int) o; Console.WriteLine("i={0},o={1}, j={2}",i,o,j); } A.i=2001,o=2000,j=2000 B.i=2001,o=2001,,j=2001 C.i=2000,o=2001,,j=2000 D.i=2001,o=2000,j=2001 15:假定a和b为int型变量,则执行下述语句组后,b的值为 a=1; b=10; do { b-=a; a++; } while (b--<0); A.9 B.-2 C.-1 D.8 简答题 16:override与重载的区别。 17:为什么不应该在.NET中使用out参数?它究竟好不好? 18:双向链表的删除结点 。 19:解释HttpRequest.ValidateInput()的重要性? 20:Solve this cryptic equation, realizing of course that values for M and E could be interchanged. No leading zeros are allowed. WWWDOT - GOOGLE = DOTCOM 21:特性能够放到某个方法的参数上?如果可以,这有什么用? 22:PID是什么?在做系统的故障排除时如何使用它? 23:比较两个字符串,用O(n)时间和恒量空间。 24:请详述在dotnet中类(class)与结构(struct)的异同? 25:简述 private、 protected、 public、 internal 修饰符的访问权限。 (责任编辑:职场达人) |


