Create a file that contains your favorite movie quote. Use a text editor such as Notepad and save the file as Quote.txt. Copy the file contents and paste them into a word-processing program such as Word. Save the file as Quote.doc. Write console application that displays the sizes of the two files as well as the ratio of their sizes to each other. To discover a file's size, you can create a System.IO.FileInfo object using a statement such as the following, where FILE_NAME is a string that contains the name of the file:
FileInfo wordInfo = new FileInfo(FILE_NAME);© BrainMass Inc. brainmass.com October 17, 2018, 12:38 pm ad1c9bdddf
Please find the solution attached. Text file used is "quote.txt" and Word file used is "Quote.doc".
You can ...
This solution introduces FileInfo Class. It uses two different file types text and word and uses them to show the use of the class. The application displays the sizes of the two files as well as the ratio of their sizes to each other. To discover the file's size, System.IO.FileInfo object is used.
productivity based solutions
Microsoft has expended a lot of effort into developing productivity tools for the Web, particularly with the .NET strategy. However, there are many other tools for creating Web solutions, eg. PHP, ColdFusion etc... The .NET strategy is extremely comprehensive, and yet there is always the continuing us versus Microsoft argument. Discuss the merits of adopting such an approach as a business strategy, and do you think it's wise given the enormous productivity gains offered by the .NET solutions? Compare any other productivity based solutions you may have come across in your readings.
Must provide all references.View Full Posting Details