O'Reilly logo

Start Here!™ Fundamentals of Microsoft® .NET Programming by Rod Stephens

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

Data Storage

A program can store data in several places, including RAM, flash drives, hard drives, Blu-ray, DVDs, and CDs. The following sections describe the advantages and disadvantages of each so you can match them to your program’s needs.

RAM

RAM is extremely fast, but relatively expensive. Moving data between RAM and the processor is lightning-fast, so it’s the best place to store frequently used data. Data stored in program variables is generally stored in RAM, which gives them the best performance.

Unfortunately, RAM is also fairly expensive, so computers often have a limited supply. A typical computer might have 2 GB of RAM. That may seem like a lot (and it is), but you need to remember that your program isn’t the only one using the RAM. ...

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