This post is a portion of my series on Windows Programming using C# (C Sharp). You can see all of the posts by going to http://fixbyproximity.com and clicking the “Windows Programming with C#” button at the top of the site.
- Part 2.0: Introduction
- Part 2.1: Variables
- Part 2.2: Operators
- Part 2.3: Conditionals and Loops
- Part 2.4: Creating our own Function
Examine the different types of functions in C# and the syntax to implement them effectively.
- Void functions
This “return =” thing is, I guess, remnant in old-school Pascal programmers’ heads, because in Pascal when you want to return something in a function, syntax was “Result := something something”.