Is main() (or Main()) in C, C++, Java or C#, a user-defined function or a built-in function?
In C/C++, it a standard so its built in and reconized.
Java, not sure, no experience
C# - Its a part of a class so its defined by you.
All of these are defined by you -- you tell it what to do.