Solved

java to c# conversion of objectoutputstream

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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