in C Sharp by
Q:
What are the differences between static, public and void in C#?

1 Answer

0 votes
by
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 Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Nov 15, 2020 in JAVA by rajeshsharma
0 votes
asked Jan 27, 2020 in JAVA by rahuljain1
0 votes
asked May 6, 2020 in C Sharp by SakshiSharma
0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
...