

MCQOPTIONS
Saved Bookmarks
1. |
What does the following code display while execution?
class Program { static void Main(string[] args) { int ch; HttpWebRequest req = (HttpWebRequest) WebRequest.Create("http://www.McGraw-Hill.com"); HttpWebResponse resp = (HttpWebResponse) req.GetResponse(); Stream istrm = resp.GetResponseStream(); for (int i = 1 ; ;i++) { ch = istrm.ReadByte(); if (ch == -1) break; Console.Write((char)ch); if ((i % 400) == 0) { Console.Write(" nPress Enter."); Console.ReadLine(); } } resp.Close(); } } |
A. | Html |
B. | Text |
C. | Html/text |
D. | Text/html |
Answer» E. | |