93
private Dictionary<string, IEbook> ebooks = new Dictionary<string, IEbook>();
1
using System;
2
using System.Collections.Generic;
3
4
public interface IEbook
5
{
6
string Filename {get;}
7
void Show();
8
}
9
10
public class RealEbook: IEbook
11
{
12
private string filename;
13
public string Filename {
14
get
15
{
16
return filename;
17
}
18
}
19
20
public RealEbook(string filename)
21
{
22
this.filename = filename;
23
Load();
24
}
Cached Result
directory not found exception handled
Tasks Exception: ArgumentNullException Value cannot be null. (Parameter 'path')
Tasks Exception: ArgumentNullException Value cannot be null. (Parameter 'path')