static void Main(string[] args) { AreaClass myShape = new AreaClass(); myShape.width = 12.94; myShape.length = 6.87; myShape.InformationDisplayed(); myShape.UserDetails(); Console.ReadKey(); }
static void Main(string[] args) { //giving all the valies and calling the functions AreaClass myShape = new AreaClass(); myShape.width = 12.94; myShape.length = 6.87; myShape.informationDisplayed(); myShape.UserDetails(); Console.ReadKey(); }