Object-oriented programming (OOP) is the core ingredient of the .NET framework.OOP (object-oriented programming) is a programming paradigm that is completely based on ‘objects’. We can created our object we need into application .We defined the object into class . We dont write again and again through OOP .We create an object from the object ptototype (instance)
Object
Object is a collection of number of entities. Objects take up space in the memory. Objects are instances of classes. When a program is executed , the objects interact by sending messages to one another. Each object contain data and code to manipulate the data. Objects can interact without having know details of each others data or code.
1-Classes are created once
instead of rewriting long codes, it can be run with short encodings.
2- Dreatly reduces the waste of time.
3- If you want to change your project , you dont write all project code . .You can change class code
4- OOP is faster and easier to execute
5-OOP provides a clear structure for the programs
6- OOP helps to keep the C# code DRY "Don't Repeat Yourself", and makes the code easier to maintain, modify and debug
7-OOP makes it possible to create full reusable applications with less code and shorter development time
1-Class-Constructor
2- Encapsülation
3- İnheritance
4- Abstraction
5- StaticMethod _BillExample
6- Abstraction _StudentLecturerExample
7- Genres_Movie_RepositoryExample
8- CinemaTicket_Example
9- Custom_Exception_Example