CSS

لە چاوگ
Share/Save/Bookmark

لێرە چاوەڕێ بن.

// Hello World in Microsoft C# ("C-Sharp").

using System;

class HelloWorld
{
    public static int Main(String[] args)
    {
        Console.WriteLine("Hello, World!");
        return 0;
    }
}


JAVA

/* This is a regular multi-
 * line comment. */
import java.io.*;

/**
 * This is a javadoc comment
 * @see java.lang.String
 */
public class Main extends Foo
{
    @Test
    public static void main(final String[] args)
    {
        // This is a one-line comment
        System.out.println("Hello, World!");
        int n = 1 + 2;
        System.out.println("One plus two is: " + n);

        Foo foo = new Foo("foo");
        List<Foo> list = new ArrayList<Foo>();
        list.add(foo);
    }
}