IE 2060 Lecture : Lecture11 Ch06 Functions

25 views18 pages
15 Mar 2019
School
Course
Professor

Document Summary

Structuring of program code into independent task- oriented blocks of code that are only written once but can be called many times within your program. The same code can be reused many times. It structures your code so that it is easier to see where a specific task or set of tasks is being performed. By breaking down code into separate, independent pieces, it is easier for a team of programmers to work on the code in parallel and also to test the blocks of code independently. In c#. net, modular programming is implemented using functions and classes (the latter we will look at later in the semester). Functions are used to perform calculations and actions and often to return a value. Functions that are declared of return type void do not return values. In other programming languages these are known as subroutines. Function structures stand by themselves in a class; they are not put inside another function.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents