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.
public − This is the access specifier that states that the method can be accesses publically.
static − Here, the object is not required to access static members.
void − This states that the method doesn’t return any value.
https://www.c-sharpcorner.com/forums/different-between-public-static-and-void