using c# , I want to build a small database in which its data can be stored in Records (struct) , it seems difficult to do so using streamwriter , and I searched binarywriter to find any member doing like that but I didn't find any thing , any help well appreciated ,, thank you

look up how to work with random-access files i think this would be the best way to store records

Thank you but Random Acces File s is an old fashion now , it has a new techniqe in c# as I found here , you can read this

"Serialization is the process of converting complex objects into stream of bytes for storage. Deserialization is its reverse process."


Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.