Categories

May 6 in C Sharp (C#)

Q: What is the difference between public, static and void?

1 Answer

May 6

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.

Click here to read more about C Sharp
Click here to read more about Insurance

Related questions

Madanswer
Jan 27 in JAVA
Jan 27 in JAVA
May 6 in C Sharp (C#)
...