using System;
using System.IO;
class Test
{
public static void Main()
{
string path = @"c:\test.txt";
try
{
using (StreamReader sr = new StreamReader(path))
{
Console.WriteLine(sr.ReadToEnd());
}
}
catch
{
}
}
}
Zrobiłem coś takiego, otwiera pliki z dysku lecz gdy chce otworzyć plik z intermetu nie działa :( owy plik ma atrybuty 777