using System;
public class Program
{
public struct Book
// Notice, again, this is outside of the Main
// The attributes of a book
public double price;
public string title;
public string author;
// To create a structure, we must declare what's in it
public Book(double p, string t, string a)
price = p;
title = t;
author = a;
}
public static void Main()
// Create a new book using the structure
Book harryPotterNew = new Book(30.45, "Harry Potter and the Cursed Child", "J.K.");
// Print an attribute of the new book
Console.WriteLine("the new book is called: " + harryPotterNew.title);