File.ReadAllText, WriteAllText, ReadAllLines, WriteAllLines, etc.(kirillosenkov.blogspot.com)
submitted by
KirillOsenkov(570) 4 years, 2 months ago
I found that a lot of people still use StreamReader/StreamWriter for simple file access.
You can replace
using... StreamReader... ReadToEnd...
with a simple call to File.ReadAllText
|category: Tips & Tricks
|Views: 201
tags:
Tips C# another
Everyones tags:
Your Tags: