T
Tore Aursand
Hi!
Creating database applications in C# is a breeze, but I'm up to my
knees in questions about creating an application which stores its data
in "regular record-based files"?
One simple example is that you deal with a Person structure when you
want to save a Person object to disk;
public class Person() {
private string firstname;
private string lastname;
}
When saving multiple records of the above structure to disk, each
record will have varying length depending on the length of the two
strings.
That might be nice if you're always referring to Person() objects in
list context (ie. saving all of them every time), but not when you're
dealing with only _one_ record.
Any suggestion on how to solve this?
Creating database applications in C# is a breeze, but I'm up to my
knees in questions about creating an application which stores its data
in "regular record-based files"?
One simple example is that you deal with a Person structure when you
want to save a Person object to disk;
public class Person() {
private string firstname;
private string lastname;
}
When saving multiple records of the above structure to disk, each
record will have varying length depending on the length of the two
strings.
That might be nice if you're always referring to Person() objects in
list context (ie. saving all of them every time), but not when you're
dealing with only _one_ record.
Any suggestion on how to solve this?