Classes And Objects

2,179 views

Published on

Classes And Objects

  1. 1. C# : Classes and Objects new World(); By:- Rahul SahayEmail:-rahulsahay19@gmail.com
  2. 2. Overview• Classes versus Objects• Constructors• Inheritance• Access modifiers• Abstract classes• Static classes• Sealed classes• Partial classes
  3. 3. Classes are to Objects as …
  4. 4. Constructors
  5. 5. Reference Types
  6. 6. Object Oriented Programming
  7. 7. Inheritance
  8. 8. Access Modifiers
  9. 9. Abstract
  10. 10. Virtual
  11. 11. Static
  12. 12. Sealed
  13. 13. Partial classes
  14. 14. Summary• C# gives you everything you need for OOP• Encapsulation• Inheritance• Polymorphism• Additional features for performance, convenience, extensibility• Static classes• Sealed classes• Partial classes

×