Difference between Static Method and Dynamic Method

The easiest way to understand is we should start from looking at our code to know how to we used Static Method and Dynamic Method,

With Static Method:

With Dynamic Method:

So you will easily to recognize that Static Methods are usually used in static library. For example, you create a class to handle string as cuting string, uppercase … And based on the script above,  we see that Dynamic Method just is used after creating a instance of object.

You do not need to concern to performance when choose Static or Dynamic Method, just focus to software design. You can use Static Method when you need and choose Dynamic Method when you need instantiate your class.