O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Structured Programming and Structured Constructs

Structured programming is a methodology that attempts to minimize the complexity associated with designing, writing, and modifying individual algorithms, so it is focused on the very detailed level of programming.

The fundamental idea of structured programming is simple: Only use control constructs that have one entry and one exit point. In C#, those structured constructs are represented by while, do-while, for, if-else, and switch.

The basic ideas associated with structured programming were conceived during the 1960s and 1970s. Before the advent of this important methodology, the goto statement had been applied to implement much of the logic in a program. However, it soon became apparent that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required