简体   繁体   中英

Convert an object into binary code and vice versa

I want to save a object in my MS Database , but i can't save it without converting. So i asking here, if I can convert an object into binary code and vice versa.

Yes, this is called serializing the object. Check out this example: http://www.codeproject.com/Articles/1789/Object-Serialization-using-C

试用Google protobuf-net序列化

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM