4 ms·
Interestingly, C# (which began its life as a sort of Java/Delphi crossover syntactically) agrees. It used to be that you had to write: class Program {
by int_19h 3y ago
Interestingly, C# (which began its life as a sort of Java/Delphi crossover syntactically) agrees. It used to be that you had to write:
class Program {
static void Main() {
Console.WriteLine("...");
}
}
But these days, we can just do:
Console.WriteLine("...");