I have a method name "LogClick" that is called 2 or more times per second. I call it in the tradicional way:
Call New MyClass().LogClick()
Everty time I call "LogClick", the "MyClass" is instanciated. So I think: "why not transform this method to shared?"
Public Shared Sub LogClick()
...
End Sub
MyClass.LogClick()
Will I have performance, concurrence ou memory problems transforming this method to shared?