title: Is File good for Interprocess communication
body: <p>I have an EXE and DLL running in different process. From DLL I have to send large of amount of data to EXE, which would vary from 50 chars to 2000 chars and more(The data is recordid of records saved in DB).  </p>
  
  <p>I thought about two options to do that:</p>
  
  <ol>
  <li>Using SendMessage- In which data's will be sent in batch.</li>
  <li>Use an Intermediate file to transfer data.</li>
  </ol>
  
  <p>Can anyone list out the pros and cons of methods.</p>
  
  <p>I have developed my components using C#.NET</p>