Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# using file.io

using System.IO;

using (StreamReader reader = File.ReadAllText(path))
{
  //now your file will be closed correctly, 
 // without having to call .close()
}
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+9 =