Question
26. If you attempt to delete a directory that does not exist, what IOException is thrown? a. DirectoryNotFoundException b. SecurityException c. IOException d. PathTooLongException 27.
26. If you attempt to delete a directory that does not exist, what IOException is thrown?
a. DirectoryNotFoundException b. SecurityException c. IOException d. PathTooLongException
27. Which of the following is not a property of the FileInfo class?
a. CreationTime b. lastAccessedTime c. LastWriteTime d. DirectoryKey
28. What property is used to identify if the file is not to be modified by the user?
a. ReadOnly b. Compressed c. NotContentIndexed d. Archive
29. If you want to copy a file to a new location, and delete the original file, which method of the FileInfo class should you use?
a. CopyTo b. MoveTo c. Delete d. MakeFile
30. Which method returns a StreamWriter object?
a. CreateText b. Create c. CreateFile d. Both a and b
31. Compare the classes and methods to create directories and files?
32. What security features should you build into your Web applications when you allow users to send e-mail through a Web page?
33. What security features should you build into your Web applications when you allow users to manage files and folders through a Web page?
34. Describe how you might use a database to populate a Calendar control?
35. Describe possible uses for the AdRotator control?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started