Which class encapsulates information about a specific culture?
Name two ways to access the default culture within an application.
Match each regular expression:
@"(\b[^\Wa-z0-9_][^\WA-Z0-9_]*\b)"
@"(\b[^\Wa-z0-9_]+\b)"
@"(\b[^\WA-Z0-9_]+\b)"
with the function it performs:
Find all capitalized words.
Find all lowercase words.
Find all words with the initial letter capitalized.
When is it more advantageous to use the instance methods of Regex rather than the static ones?
Which string comparison method(s) is (are) used to implement this statement:
if (myString == "Monday") bool sw = true;
Match each statement:
curdt.ToString("D")
curdt.ToString("M")
curdt.ToString("ddd MMM dd")
with its output:
March 9
Tuesday, March 9, 2004
Tue Mar 09
Which of these objects is not created from an existing FileStream?
FileInfo
StreamReader
BufferedStream
You can create a FileStream object with this statement:
FileStream fs = new FileStream(fname, FileMode.OpenOrCreate, FileAccess.Write,FileShare.None);
Which one of the following statements creates an identical FileStream using an existing FileInfo object, fi?
fs = fi.OpenWrite();
fs = fi.Create();
fs = fi.CreateText();
Indicate whether the following comparisons are true or false:
(string.Compare("Alpha","alpha") >0)
(string.Compare("Alpha","alpha",true) ==0)
(string.CompareOrdinal("Alpha","alpha")>0)
(string.Equals("alpha","Alpha"))