- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
class Book
{
public void BookName(ref string file, ref int Index)
{
string[] ReadFile = File.ReadAllLines("NameFile.txt", Encoding.Default);
file = ReadFile[Index];
}
public void BookAuthor(ref string file, ref int Index)
{
string[] ReadFile = File.ReadAllLines("AuthorFile.txt", Encoding.Default);
file = ReadFile[Index];
}
public void BookDescription(ref string file, ref int Index)
{
string[] ReadFile = File.ReadAllLines("DescriptionFile.txt", Encoding.Default);
file = ReadFile[Index];
}
public void BookTags(ref string file, ref int Index)
{
string[] ReadFile = File.ReadAllLines("TagFile.txt", Encoding.Default);
file = ReadFile[Index];
}
}