How to create a site using Client Object Model using Sharepoint Foundation

Step 1: Create a Windows Application or Console Application.(I am taking Windows Forms Application here)1.png

Step 2:  "Microsoft.SharePoint.Client.dll" and "Microsoft.SharePoint.Client.Runtime.dll"
2.png
Step 3: Code Snippet
3.png
Step 4: Site Created Successfully.

4.png