Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string[] friends;
- friends = new string[3];
- for (byte i = 0; i < friends.Length; i++)
- {
- friends[i] = "Marlos";
- }
- for (byte i = 0; i < friends.Length; i++)
- {
- Console.WriteLine(friends[i]);
- }
- friends = new string[2];
- for (byte i = 0; i < friends.Length; i++)
- {
- friends[i] = "João";
- }
- for (byte i = 0; i < friends.Length; i++)
- {
- Console.WriteLine(friends[i]);
- }
Advertisement
Add Comment
Please, Sign In to add comment