How to get list of sub sites using SharePoint client object model

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.Utilities;

private static void GetAllSubSites()
{
ClientContext clientContext = new ClientContext(“http://{yoursiteurl}/“);
Web oWebsite = clientContext.Web;
clientContext.Load(oWebsite,
website => website.Webs,
website => website.Title
);
clientContext.ExecuteQuery();
Console.WriteLine(“Available sites Count: ” + oWebsite.Webs.Count);
for (int i = 0; i != oWebsite.Webs.Count; i++)
{
Console.WriteLine(“Site Title: “+ oWebsite.Webs[i].Title);
}
}

Microsoft SharePoint Foundation & SharePoint Server 2010 Technical Library in Compiled Help format

Microsoft SharePoint Server 2010 Technical Library in Compiled Help format
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3629425d-1505-456e-89e2-ede95f75ffe5

Microsoft SharePoint Foundation 2010 Technical Library in Compiled Help format 
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c8cf1631-0f48-4a02-a18d-54b04eb7f0a7