Program
using System;
using System.IO;
namespace ConsoleApplication1
{
class Program
{
static void Main()
{
FileAttributes F = File.GetAttributes("B123.TXT");
Console.WriteLine("Attributes are :"+F.ToString());
}
}
}
Output
Attributes are :Hidden, Archive