In C# is it possible to read only a certain amount of bytes of data from a file every time read is executed? It would accomplish the same thing as the python line of code below
data=file.read(1024)
Where 1024 is the amount of bytes it reads.
data would return a string containing 1024 bytes of text from the file.
Is there something for C# that can accomplish the same thing?