Console.WriteLine
takes params so you can do this:
Console.WriteLine("{0}---{1}", s.Address, s.EmployeeID.ToString());
Or you can use C# 6.0 string interpolation (Note the dollar sign):
Console.WriteLine($"{s.Address}---{s.EmployeeID}");
EDIT
Since you mentioned in the comments:
I want to print all rows from each column from table Employees (Northwind db), without writing each of the columns names
You can do this, imagine you have a class:
public class One
{
public int Id { get; set; }
public string Name { get; set; }
}
You can:
// using System.Web.Script.Serialization;
var ser = new JavaScriptSerializer();
var one = ser.Serialize(new One() { Id = 1, Name = "George" });
Console.WriteLine(one);