I have a question regarding public and static methods. I am new to coding C# and I know that public methods can only be accessed using an object. However, static methods can be accessed without an object of the class. But what is the point of using a public method? Why not just always use a static method?
↧
Trending Articles
More Pages to Explore .....