【正文】
n backslashes in C?*——3 1. string s = ”n Test string”?! ?. string s = “’n Test string”?! ?. string s = @”n Test string”?! ?. string s = “n Test string”。Question 46. (單選) Which of the following operations can you NOT perform on an DataSet?——4 1. A DataSet can be synchronised with a RecordSet. 2. A DataSet can be synchronised with the database. 3. A DataSet can be converted to XML. 4. You can infer the schema from a DataSetQuestion 47. (單選) In Object Oriented Programming, how would you describe encapsulation?——4 1. The conversion of one type of object to another. 2. The runtime resolution of method calls. 3. The exposition of data. 4. The separation of interface and implementation.Question 48. (單選) How does assembly versioning in .NET prevent DLL Hell?——2 1. The runtime checks to see that only one version of an assembly is on the machine at any one time. 2. .NET allows assemblies to specify the name AND the version of any assemblies they need to run. 3. The piler offers pile time checking for backward patibility. 4. It doesn’t.Question 49. (單選) 三種常用的字符串判空串方法: 1: bool isEmpty = ( == 0)。 2: bool isEmpty = (str == )。 3: bool isEmpty = (str == )?! ∧姆N方法最快?——1 1. 1 2. 2 3. 3 Question 50. (單選) public sealed class SampleSingleton1{private int m_Counter = 0。 private SampleSingleton1(){(初始化SampleSingleton1。)。}public static readonly SampleSingleton1 Singleton = new SampleSingleton1()。public void Counter(){m_Counter ++。}} 以上代碼實現(xiàn)了設(shè)計模式中的哪種模式?——3 1. 原型 2. 抽象工廠 3. 單鍵 4. 生成器