4. Methods and Parameters

From what you have learned about C# programming so far you should be able to write straightforward programs consisting of a list of statements, similar to the way programs were created in the 1970s. Programming has come a long way since the 1970s; as programs became more complex, new paradigms were needed to manage that complexity. “Procedural” or “structured” programming provides constructs by which statements are grouped together to form units. Furthermore, with structured programming, it is possible to pass data to a group of statements and then have data returned once the statements have executed.

Image

Besides the basics ...

Get Essential C# 5.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.