Post #6 Methods, procedures or encapsulation
Methods: Let me just give a base definition of a method. A method is a program that can take parameters and does something usually. The greatest of these is our main method which will always run when we run the program. The main method is also a built in method. You can have built in methods or you can build your own. Built in methods are super useful like the main method. It can also be good to build your own so that the method does what you want. Static Methods are methods that do not change. They don't normally allow methods that are not static to be called. However you can simply create a separate class. Instance Methods are methods that operate normally on a given instance of a class. Virtual Methods are when an instance method has an virtual modifier. That's the basic definition my books are giving me. Override Methods are when an instance method has an override modifier. Override Methods can override virtual methods. Sealed methods similar to virtual and override but whe...