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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!