Answer on Question#38039- Programming, C#
1. Which class of .NET Framework should Hayley use to enable sharon to view the file extension of the stock deatails file? Describe any four properties of the selected class.
Solution.
using System.IO;
Console.WriteLine(File.GetLastAccessTimeUtc(@"E:\michael_jackson__earth_song.wmv"));
Console.WriteLine(File.GetAccessControl(@"E:\michael_jackson__earth_song.wmv"));
Console.WriteLine(File.GetCreationTimeUtc(@"E:\michael_jackson__earth_song.wmv"));
Console.WriteLine(File.GetAttributes(@"E:\michael_jackson__earth_song.wmv"));