Comment on Classes often aren't the simplest tool for the jobparentComments−thomasz4yIn practice, the difference is pretty small in C#. For almost all purposes classes act like a namespace (System.Math), and can be imported like one. Former 6 will add even more syntactic sugar, so that methods can be defined outside classes.−stickfigure4yYou can import static methods in Java too. Works the same.
Comments
In practice, the difference is pretty small in C#. For almost all purposes classes act like a namespace (System.Math), and can be imported like one. Former 6 will add even more syntactic sugar, so that methods can be defined outside classes.
You can import static methods in Java too. Works the same.