I am writing lots of files using c#. File size is 1 mb and about 500 files are there in the folder.All the files are written properly with all of their contents. But some files are showing file size zero in windows explorer even though it has contents.
I can see size when I copy the files to other location. Also I can see size when i open in the same location and refresh the windows explorer.