O'Reilly logo

Xamarin Studio for Android Programming: A C# Cookbook by Mathieu Nayrolles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Serializing and deserializing objects into files

In this recipe, we will learn about serialization. Serialization is the process of transforming data structures or—in our case—objects into files that can be read later by the same, or another, computer (phone) in order to create an exact replica of the object that was serialized. The possibilities are endless with serialization because you can use it for storage and communication purposes. End-users can actually send (serialized) objects to each other. You might have found the previous recipe trivial, and you are right, it is trivial. However, we can use the file to store serialized objects, which can be used for almost every purpose. Serialization will happen in two separate classes. Indeed, we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required