file reading

  1. dv2020

    Question GetDirectories Sort by Filename

    Hi All I'm using Directory.GetFiles to get a list of files, and populate the datagrid. Code is below. Everything is working, but I'm having trouble trying to get Directory.GetFiles to retrieve the list in filename or descending. How anyone any idea if its possible, and if not via...
  2. H

    How to read large files( up to 4GB) effectively?

    I am trying to read a file of size 4GB using Readbyte(). for (ulong i = 0x00000000; i <= 0x44509221; i++) { value += br.ReadByte().ToString("X2"); value += " "; } I used...
Top Bottom