Categories

Oct 18, 2019 in C Sharp (C#)
Q: What are the differences between static, public and void in C#?

1 Answer

Oct 18, 2019
Static classes/methods/variables are accessible throughout the application without creating instance. Compiler will store the method address as an entry point.

Public methods or variables are accessible throughout the application.

Void is used for the methods to indicate it will not return any value.
Click here to read more about C Sharp
Click here to read more about Insurance

Related questions

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