TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Maha
NA
0
324k
System.String[]
Feb 22 2012 11:17 PM
Console.WriteLine(names) without "[x]" next giving following result. Anybody knows explain please.
System.String[]
using System;
public class ReverseArray
{
public static void Main()
{
string[] names = { "Zach", "Wendy", "Rose", "Marcia" };
int x;
Array.Reverse(names);
for (x = 0; x < names.Length; ++x)
Console.WriteLine(names);
Console.WriteLine();
for (x = 0; x < names.Length; ++x)
Console.WriteLine(names[x]);
Console.ReadKey();
}
}
/*
System.String[]
System.String[]
System.String[]
System.String[]
Marcia
Rose
Wendy
Zach
*/
Reply
Answers (
2
)
How could I manage number range output
File system watcher