I want to get all webs including it's subwebs.
How to achieve ?
Its all happening in SharePoint Manager, just download source code and look at code to get what you want.
Hope it helps :).
you can use WebsInfo property of SPWebCollection class
then you can perform action with SPWebInfo class.
This is one solution, which will return all sites including its subsite.