Read all bytes from a File

byte[] data = File.ReadAllBytes(file);

Why is it not on FileStream, which had previous version of reads? Beats me..

About vijayvepa

I'm a software consultant for Software Specialists Inc. currently working at Philips Respironics, Pittsburgh

Leave a comment