What does it mean with read whole files atomically

T

Tony Johansson

Hi!

Here is the complete sentence. "The file class can be used to open files,
create new files, read whole files atomically, and even write files".

So what does the test mean with read whole files atomically ?

//Tony
 
P

Peter Duniho

Tony said:
Hi!

Here is the complete sentence. "The file class can be used to open files,
create new files, read whole files atomically, and even write files".

So what does the test mean with read whole files atomically ?

They must be talking about the ReadAllText() method, and using the word
"atomically" simply to mean that with a single method call, you can read
the entire file (which, given the context seems like a reasonable enough
usage of the word "atomically").

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top