What is the difference between public, static and void?

C# Programming Language >   Data Types, Variables and Constants in C# Language >   Introduction to Data Types in C# Language  

Short Question

1414


Answer:

You can access public declared variables anywhere in the application.

Static declared variables are globally accessible without creating an instance of the class.

Void is a type modifier that specifies that the method doesn't return any value.


This Particular section is dedicated to Question & Answer only. If you want learn more about C# Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.