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