65 691
Assignments Done
99,2%
Successfully Done
In October 2018

Answer to Question #42178 in C# for Rakesh chaudhary

Question #42178
write a C# program the code that heavy should write to create the desired file information viewer application
1. File name
2.File creation date
3.File size
Expert's answer
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileApplication
{
class Program
{
  static void Main(string[] args)
  {
FileInfo f = new FileInfo("D:\\info.txt");
Console.WriteLine("Name: {0}", f.Name);
Console.WriteLine("Creation Time: {0}", f.CreationTime);
Console.WriteLine("Size(bytes): {0}", f.Length);
Console.ReadLine();
  }
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions