Friday, May 29, 2009

C# - read from file

I am amazed by the simplicity to read all file bytes in C#... WoooHoo


byte[] dataBytes = File.ReadAllBytes("My_FILE_NAME");

No comments:

Post a Comment

Facebook - Control privacy setting of liked page

By default, Facebook displayed your liked page to public. It is the user responsibility to adjust the privacy setting. And in my opinion, F...