创软的代码

C

#include <stdio.h>

int main(void) {
    printf("Hello World!\n");
    return 0;
}

C#

using System;

class MainClass {
    static void Main() {
        Console.WriteLine("Hello World!");
    }
}

C#

#include <iostream>
using namespace std;

int main() {
    cout << "Hello World!";
    return 0;
}

D

import std.stdio;

void main()
{
    writeln("Hello World!");
}

Go

package main

import (
    "fmt"
)

func main() {
    fmt.Println("Hello World!")
}

Java

class Main {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}