Importance of C# (was Re: IronPython-0.6 is now available!)
"Martin v. Löwis"
martin at v.loewis.de
Thu Jul 29 16:39:40 EDT 2004
Neal D. Becker wrote:
> Is this actually different than HelloWorld in java???
> using System;
> public class HelloWorld
> {
> public static void Main()
>
> {
> // This is a single line comment
>
> Console.WriteLine("Hello World! From Softsteel Solutions");
> }
> }
Yes:
- It it not System.Console, but java.lang.System.out,
and java.lang is implicitly imported (not usinged)
- it is not WriteLine, but println
- it is not Main, but main
- the main function requires an argument (String[])
Regards,
Martin
More information about the Python-list
mailing list