- 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: 1007
Latest pastes
1 days ago
2 days ago
5 days ago
6 days ago
6 days ago