Monday, December 28, 2015

Classes and Objects (in C#) with Example ~ Crystal Tenn

Interesting way to view C#..

A program is made of pieces that all interact with each other to make a functional program. Think of a human body. We have organs that each have their own function, but ideally, they will all work together to keep us alive. These small parts will be individual programs and have their own purpose and function, but to make a bigger product. Our class would be "organ". Every organ is made up of cells (attribute), and every organ uses energy (method).

No comments :