IE 2060 Lecture : Lecture12 Ch7 OOP

26 views34 pages
15 Mar 2019
School
Course
Professor

Document Summary

C#. net is an object-oriented programming (oop) language, as are most modern programming languages. Objects are data structures which represent "things" we want to work with, like: Data structure objects - arraylists, datasets, stacks. Objects store data (through properties), contain methods (functions) that perform actions, and generate events that can be caught by event handlers. The idea of objects is to place all the code and data for a particular set of functionality into a single container. The principle of encapsulation in oop requires that private data and code not be accessible or alterable from the outside. The object class should only make public what the outside world needs to use its internal code and data are hidden. This is good programming practice, ensuring modularity and independence of code components, simplifying the debugging process, and removing the possibility of code trying to access private object methods and properties which may no longer exist.

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