User Profile

Collapse

Profile Sidebar

Collapse
seshamsri
seshamsri
Last Activity: Mar 6 '08, 09:13 AM
Joined: Feb 28 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • seshamsri
    replied to Serialize Object by Object
    in .NET
    Yeah ,you are right,if possible could you post a small code snippet using binaryformatter and memory stream ,that would be great,anyways thanks for sharing your thoughts....
    See more | Go to post

    Leave a comment:


  • seshamsri
    replied to Serialize Object by Object
    in .NET
    But lets assume a scenario,
    Each time an application runs ,say we want to serialize only a big single object(assume,e verytime it will be the same class object that will be serialized)

    And in any one the runs ,what if the user wants to see all the objects that were serialized till date ?
    yeah one thing can be done if we make a note of number of objects written to disk till date ,we can call deserialize those many number...
    See more | Go to post

    Leave a comment:


  • seshamsri
    replied to Serialize Object by Object
    in .NET
    thankyou for the quick response, Yes what you have said is right, I could use a collection to store the objects and then serialize it or as you have suggested we can do it by writing the block size first and then the block data itself.
    But I was just trying to see if I can do that object by object as we do with fwrite ,fread functions In C C++. Apparently I see that there is no way to do that in C#.
    Preparing for Application Foudation...
    See more | Go to post

    Leave a comment:


  • seshamsri
    started a topic Serialize Object by Object
    in .NET

    Serialize Object by Object

    Hi All,
    I am trying to write a simple program which involves serializing objects.
    how do I serialize a custom class objects to a single file, I do not want to use a arraylist or a collection , what I am trying to do is create an object when ever user wants and serialize it to a file, All the objects created in this way should be stored in the same file and the user should be able to view all his objects on demand.
    I am struck...
    See more | Go to post
No activity results to display
Show More
Working...