c# writing object to binary file

Posted by user209293 on Stack Overflow See other posts from Stack Overflow or by user209293
Published on 2010-04-08T09:59:41Z Indexed on 2010/04/08 10:03 UTC
Read the original article Hit count: 326

Filed under:
|

Hi

I have to write an object in to binary file.My struct looks like this.

   Struct Company
    {
       int numberofemployees
       list of Struct Employee.
    }

    Struct Employee
    {
       string EmployeeName;
       string Designation;
    }

What is the best way to do the above operation? Regards Raju

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET