找考题网-背景图
单项选择题

You have recently written the code shown below: Hashtab……

You have recently written the code shown below:
Hashtable emailAddresses = new Hashtable ();
emailAddresses.Add ("Mia", "mia@ Certkiller .com");
emailAddresses.Add ("Andy", "andy@ Certkiller .com");
emailAddresses.Add ("Kara", "kara@ Certkiller .com");
FileStream stream = new FileStream ("Email.dat", FileMode.Create);
BinaryFormatter formatter = new BinaryFormatter ();
formatter.Serialize (stream, emailAddresses);
You need to ensure that you are able to load the emailAddresses object from the Email.dat file into your application.
What should you do?()



A.
B.
C.
D.

热门试题