Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to effectively learn/understand OOP in C#? [closed]

Tags:

c#

oop

in short, I've been going to C# classes for the last 6 months. We covered all fundamentals of the language - vars, arrays, methods, loops, text processing, working with strings etc. with lots of exercises... but as a whole the material was improving my algorithmic thinking (I don't have any programming background) and the things were going really well.

Since the middle of February however we started OOP and hard times arrived. It's a nightmare for me to implement the OOP principles, though I know them in theory.

What I do to help myself:

  • read my C# class book
  • read online resources
  • read other people's code
  • trying to write my own code fails

Can you give me suggestion please, as I don't want to give up!?

like image 533
Todo Avatar asked Oct 05 '22 19:10

Todo


1 Answers

You have to start simple, even if the solution does not ask for a real OOP principe.

Also it is a good idea to read a book about design patterns, or more important: create your own (simple) apps with using them. Design patterns are very useful and heavily use OOP principles.

like image 82
Michel Keijzers Avatar answered Oct 10 '22 03:10

Michel Keijzers