Alex Rivera | Logout

How to display list items on console window in C#

Asked 2009-04-17T05:25:47.447
81

I have a List that contains all databases names. I have to display the items contained in that list in the Console (using Console.WriteLine()). How can I achieve this?

Edit
Report

1 Answer

18
Console.WriteLine(string.Join<TYPE>("\n", someObjectList));
answered 2013-04-17T13:44:16.447

Your Answer