File.ReadAllText, WriteAllText, ReadAllLines, WriteAllLines, etc.(kirillosenkov.blogspot.com)
submitted by
KirillOsenkov(570) 3 years, 10 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: 197
tags:
Tips C# another
Everyones tags:
Your Tags: