Question
Help me with this C# assignment. I am unsure how to attach the files needed for the code. I am using visual 2017. Create a
Help me with this C# assignment. I am unsure how to attach the files needed for the code. I am using visual 2017.
Create a file that contains your favorite movie quote. Use a text editor such as Notepad and save the file asQuote.txt. Copy the file contents and paste them into a word-processing program such as Word. Save the file asQuote.doc. Writeconsoleapplication 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);
Save the file asFileComparison.cs.
Compile and run your program until it works and the output looks nice. Add the necessary documentation as described in Course Documents, and then attach your .cs file to this assignment. Do not attach the compiled files, attach only the .cs source code.
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