Is file empty check

Posted by Arcadian on Stack Overflow See other posts from Stack Overflow or by Arcadian
Published on 2010-06-09T16:15:49Z Indexed on 2010/06/09 16:22 UTC
Read the original article Hit count: 147

Filed under:

how do i check if a file is empty in C#?

need something like:

if (file is empty)
{
//do stuff
}

else
{
//do other stuff
}

© Stack Overflow or respective owner

Related posts about c#