Solved

java to c# conversion of objectoutputstream

Posted on 2006-07-11
1
1,940 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now