Skip to content

Commit ca1861a

Browse files
committed
Added Languages
1 parent 3c74a23 commit ca1861a

File tree

5 files changed

+35
-0
lines changed

5 files changed

+35
-0
lines changed

c#/hello.cs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
3+
namespace HelloWorld
4+
{
5+
class Program
6+
{
7+
static void Main(string[] args)
8+
{
9+
Console.WriteLine("Hello World!");
10+
}
11+
}
12+
}

dart/hello.dart

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
void main() {
2+
print("Hello World");
3+
}

kotlin/hello.kt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Kotlin Hello World Program
2+
fun main(args: Array<String>) {
3+
println("Hello, World!")
4+
}

ruby/hello.rb

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts 'Hello, world!'

rust/hello.rs

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// This is a comment, and is ignored by the compiler.
2+
// You can test this code by clicking the "Run" button over there ->
3+
// or if you prefer to use your keyboard, you can use the "Ctrl + Enter"
4+
// shortcut.
5+
6+
// This code is editable, feel free to hack it!
7+
// You can always return to the original code by clicking the "Reset" button ->
8+
9+
// This is the main function.
10+
fn main() {
11+
// Statements here are executed when the compiled binary is called.
12+
13+
// Print text to the console.
14+
println!("Hello World!");
15+
}

0 commit comments

Comments
 (0)