Solved

java to c# conversion of objectoutputstream

Posted on 2006-07-11
1
2,089 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 125 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
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 …

635 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