Hi guys,
so i have been reading and following tutorials, i understand
- Methods
- Constructors
- Instantiation
- Encapsulation
- Polymorphism
- The basics (flow control, loops, etc)
- event Handlers
- +more
The problem i’m having is Interfaces and Enums
Enums: I’m having trouble understanding why we would use them, what they are for, what they do
Interfaces: i understand that they work as a contract such as a class that inherits them must include / implement the methods defined within them but still not sure why we would use them as one class that inherits the methods may write them completely different that another class
I’m wondering if anyone knows of a nice site / tutorial (written) that could explain these for me clearly and examples of simple use that would be clear to a complete dolt like myself.
cheers