Pergunta de entrevista da empresa AvePoint

What is the difference between static, public, and void

Resposta da entrevista

Sigiloso

31 de mar. de 2024

Public declared variables can be accessed from anywhere in the application. Static declared variables can be accessed globally without needing to create an instance of the class. Void is a type modifier which states the method and is used to specify the return type of a method in C#.