O'Reilly logo

Beginning C# 2008: From Novice to Professional by Christian Gross

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

Chapter 10. Learning About Persistence

Your programs will probably need to read and/or write data to some type of storage device. That storage device might be a hard disk, USB drive, or even the network. The key concept is that you are taking information from memory and transferring it to some other location. Later, you will retrieve that information and use it to execute some task.

Taking data from memory and transferring it to another place is referred to as persistence. Most examples of persistence involve creating an object, and then saving that object via a file to the hard disk. However, reading and writing an object is not just saving data to the hard disk, even though that is often the result. Reading and writing data to the hard disk is ...

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