what is the work of .flush() method in .NET.
please explain it.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Sep 23, 2013, 8:40 AM
hi,
As per my knowledge Flush method is used to clear buffered.
many inbuilt class contain flush method like HttpRespone, FileStream etc.
differ class has a differnt functinality of flush method.
which class flush method explaination you required?
hope this will help you.
Sanjeeb LenkaPosted Sep 23, 2013, 3:32 AM
Flush() can be called any time you need to clear the buffer.
refer to this link for details:
http://msdn.microsoft.com/en-us/library/2bw4h516.aspx
http://msdn.microsoft.com/en-us/library/system.io.stream.flush.aspx