- 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: 975
Latest pastes
16 hours ago
2 days ago
3 days ago
6 days ago
7 days ago