-1

Hello, I'm considering serialization as a means of creating a simple database for an application. I'm wondering if I'm going to run into any problems trying to serialize a list of a record-style struct comprised of simple data types, like strings and int, maybe a a DateTime or two.

so.. I have something like:

struct foo{
string x, y;
int z;
DateTime theTime;
}

List<foo> fooList;//<-- need to serialize

Also, is there any way to know how many foos are serialized to a file?

3
Contributors
2
Replies
7
Views
6 Years
Discussion Span
Last Post by __avd
-1

Its how ever you program it. Most companies will write there own serialization engine. Im not an expert in the area, but as far as I understand it there is no standard way of "serialzing" an object, because the point of serializing is to make the data available only to you so that no outside sources can read it.

-1

>I'm considering serialization as a means of creating a simple database for an application.

Please read Serialization wiki.

Edited by __avd: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.