Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

java to c# conversion of objectoutputstream

Posted on 2006-07-11
1
Medium Priority
?
2,123 Views
Last Modified: 2008-02-01
How can i convert the following code to equivalent c# code.


try{
      FileOutputStream out = new FileOutputStream("Batch");
      ObjectOutputStream s = new ObjectOutputStream(out);
      s.writeObject(currentBatch);
      s.flush();
    }
0
Comment
Question by:Rahamathulla_J
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
bruintje earned 375 total points
ID: 17079817
Hi Rahamathulla_J,
----------

not a straight answer but if this is object serialization then check this conversion guide at heading 10. Object Serialization
http://www.25hoursaday.com/CsharpVsJava.html

i think you'll find the rest of your conversion code there too

----------
bruintje
share what you know, learn what you don't
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question