File tree 5 files changed +35
-0
lines changed
5 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
1
+ void main () {
2
+ print ("Hello World" );
3
+ }
Original file line number Diff line number Diff line change
1
+ // Kotlin Hello World Program
2
+ fun main (args : Array <String >) {
3
+ println (" Hello, World!" )
4
+ }
Original file line number Diff line number Diff line change
1
+ puts 'Hello, world!'
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments