Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

C#, OOP introduction and examples

3,538 views

Published on

Csharp, OOP introduction and examples

Published in: Technology, News & Politics
  • Be the first to comment

C#, OOP introduction and examples

  1. 1. Csharp agni campos special thanks to Marek
  2. 2. C# part 1 - summary
  3. 3. Module (resto da divisão) %
  4. 4. For loops
  5. 5. Enumerators
  6. 6. Classes
  7. 7. Not good practice – create private variables for properites
  8. 8. Good practice – make variables of a Class public
  9. 9. C# part 2 - summary
  10. 10. Class overview design
  11. 11. Warehouse Class - Example
  12. 12. Class - Inheritance
  13. 13. static
  14. 14. Summary OOP
  15. 15. Arrays
  16. 16. Arrays
  17. 17. Arrays – Sort() method
  18. 18. Dictionary
  19. 19. Var makes any variable “Type Safe”
  20. 20. Dictionary – Class with methods
  21. 21. Recursive method calls without Error handlers
  22. 22. Error handlers (Expection Class Inheritance)
  23. 23. Interfaces
  24. 24. ABSTRACT CLASS OVERRIDE
  25. 25. Note Class treat as Storable (with access to it’s all methods)
  26. 26. FOR EACH ON LIST OF STORABLE INTERFACE Most often Interfaces Class used to be more named conventioned with capital I adead of Interface’s name, but that’s gone. I.E. Interface on the slide is Storable and not Istobrable as many would imagine still.
  27. 27. Foreach example using Employee List
  28. 28. Delegates
  29. 29. Delegates Sintax
  30. 30. Delegates example
  31. 31. Delegates Instances
  32. 32. Delegates example of use (MediaTester)
  33. 33. Delegates MediaTester Program

×