What should you do?
You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 application class library and decide to use the AppDomainSetup class to create an application domain.
You are required to create an instance of a type named BillSpace.BillType.
You are additionally required to configure the new application domain so that it probes for the assembly containing the type in a specified directory.
What should you do?
Which code segment should you use?
You are writing a method that returns an ArrayList named al.
You need to ensure that changes to the ArrayList are performed in a thread-safe manner.
Which code segment should you use?
What should you do?
You define the following regular expression of currency values:
regex tx = new regex(“^-?d+(.d{2})?$”)
You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use.
What should you do?
What should you do?
Domain.com has a file server named Certkiller -SR07 that stores old inventory files. Domain.com has given you the task of creating an application to archive these old inventory files.
The inventory files have to be compressed prior to being uploaded to Domain.com’s Web server.
You are currently writing a method that will receive a byte array and compress it into a new file.
You need to ensure that a data corruption check takes place during the decompression process.
What should you do?
What should you do?
You are in the process of creating a new application.
This new application has to be able to read all data from a text file.
What should you do?
What should you do?
You have recently completed the creation of a new application.
Domain.com requires you to ensure that this new application creates a file that contains an array of bytes.
What should you do?
What should you do?
Domain.com has asked you to create a file management application to monitor the hosts file.
Domain.com has instructed you to change the hosts file if it has been changed.
You, therefore, need to display the size and whether the hosts file is set to read-only.
What should you do?
What should you do?
Domain.com has asked you to create an application to display all of the top directories based on the drive path.
You need to ensure that the application displays the number of files within top-level directories.
What should you do?
What should you do?
Domain.com has asked you to develop an application that displays the properties for all Domain.com’s network drives.
The information generated by this application will be utilized by Domain.com’s network administrators to verify client setups.
You need to ensure that these requirements are fully satisfied.
What should you do?
What should you do?
You have recently completely creating a new application for Domain.com.
This new application has to load an instance of the Inventory class from a large file named Inventory.dat.
You need to ensure that the application executes the loading process in as little time as possible.
What should you do?