Hello. Im a starter in C# and i need some help with some codes.
What i need is to display the folder statistics of a particular folder. ( in this occasion i want C:\Windows). Display the following statistics about all the files in the current folder.
Total files: 49
Total size of all files: 7121424 bytes
Largest file: explorer.exe, 2871808 bytes
Average file length: 145335 bytes
this is what i want to display. Please someone tell me the code for this things. Im a starter please something simple if it is possible. Please if it is possible include a full code with variables etc.
Thanks in advance.

