1. Which of the following is a primary characteristic of System.Xml.XmlDataDocument?
Answers: • It provides the basic abilities to allow DataSets to be loaded from or exported to XML files.
2. Which of the following can Interfaces contain?
Answers: • Conversion operators
3. Which of the following are true about operator precedence?
Answers: • The Conditional Operator (?:) has the lowest precedence.
4. What will be the output generated by the following code?
string t = "This Is a Test";
t.Replace("T", "?");
Console.WriteLine(t);
t.Replace("T", "?");
Console.WriteLine(t);
Answers: • This Is a Test
5. What output will be generated by the following code?
StringBuilder sb = new StringBuilder(10);
sb.AppendFormat("1234567890123");
Console.WriteLine(sb.Capacity);
StringBuilder sb = new StringBuilder(10);
sb.AppendFormat("1234567890123");
Console.WriteLine(sb.Capacity);
Answers: •
20