VB programmer's C #
A program usually has a master to indicate the portal of the program, and its name is typically main. Below is a simple main function without the return value, the function name is a void type:
Using system;
Class test
{
Public static void main ()
{
Console.writeline ("Hello Universe!");
}
}
Please see a simple return integer value, the function name is the int type:
Using system;
Class test
{
Public static int main ()
{
Console.writeline ("Hello Universe!");
Return (0);
}
}