Can someone explain to me what static is and why is main function declared as static.
and how come I cannot call a function declared as private.
static void Main(string[] args)
{
...
pFunction();
}
private void pFunction()
{
code.....
}
and how come I cannot call a function declared as private.
static void Main(string[] args)
{
...
pFunction();
}
private void pFunction()
{
code.....
}
Comment