Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

java to c# conversion of objectoutputstream

Posted on 2006-07-11
1
Medium Priority
?
2,150 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 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

885 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