- C# Code
- string[] greek_alphabet = {"alpha", "beta", "gamma", "delta", "epsilon"};
- foreach(string str in greek_alphabet)
- Console.WriteLine(str + " is a letter of the greek alphabet");
- Java Code
- String[] greek_alphabet = {"alpha", "beta", "gamma", "delta", "epsilon"};
- for(String str : greek_alphabet)
- System.out.println(str + " is a letter of the greek alphabet");
C# vs java
By: microhaxo | Date: Jan 13 2010 22:15 | Format: None | Expires: never | Size: 380 B | Hits: 1009
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago