150
1
using System;
2
using System.Collections;
3
using System.Collections.Generic;
4
using System.IO;
5
using System.Linq;
6
7
namespace MaybeProp
8
{
9
public class Program
10
{
11
public static void Main(string[] args)
12
{
13
int[] ids = new[] { 1, 2, 3, 4, 5 };
14
15
var storage = new Storage();
16
17
foreach (var id in ids)
18
{
19
Console.WriteLine("{0}: {1}", storage.GetStorageName(id), storage.GetContent(id));
20
}
21
Console.WriteLine();
22
23
var someStorage = new NotSoReliableStorage();
24
Cached Result