Thanks for the explanation but I already figured it out myself by the time I read your reply. But thanks anyway. And thank you jmcilhinney, the beginner link you gave me helped me understand the code I posted completely! :lemo:
I don't understand line 6-7, why is "double" there and what does it mean? And are "Acceptdetails" "Display" and "GetArea" custom methods? Sorry if I'm making no sense, I am completely new to this.
I am new to C# and this code was on one of the tutorials but it didn't give much of an explanation of what each line does.
The code:
using System;
namespace RectangleApplication
{
class Rectangle
{
double length;
double width;
public void...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.