C# Tutorial for Beginners 15 - Introduction to C# Classes and Objects
Searches related to Introduction to C# Classes and Objects classes and objects in c# net Introduction to C# classes Introduction to Classes, Objects, Methods ...
The tutorial is a little confusing when you are explaining it. For the sake
of beginner viewers maybe say that a method in a code block that generally
does not return an item but a function does as is the case here. The reason
the code block will execute in a WriteLine method is because it is
returning something and therefore it is a Function.
I know that people use Method and Function interchangeably in a lot of
writings but it can be said that keeping the 2 separate clarifies what the
code block is being used for in a general way. It drove me nuts when
learning c# to have these 2 terms used interchangeably. I am an old Visual
Basic guy, and being so was introduced to the Sub and Function procedure
definitions early in my programming education.