WriteLine in Visual Studio like in LinqPad

Viewed 463

In LinqPad I have to write

Console.WriteLine(result)

in Visual Studio I have to build something special for each case like

result.ToList().ForEach(x=> Console.WriteLine(x));

but this dosen't work for all cases.

I there an extention Method, project in Visual Studio what can do same Magic like LinqPad do?

2 Answers
Related