30 lines
475 B
C#
30 lines
475 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TestView
|
|
{
|
|
public class Book
|
|
{
|
|
public string Genre;
|
|
public string Author;
|
|
public string Title;
|
|
|
|
public Book(string Genre, string Author, string Title)
|
|
{
|
|
this.Genre = Genre;
|
|
this.Author = Author;
|
|
this.Title = Title;
|
|
}
|
|
|
|
public Book()
|
|
{
|
|
Genre = string.Empty;
|
|
Author = string.Empty;
|
|
Title= string.Empty;
|
|
}
|
|
}
|
|
}
|