Second google result has an example from Microsoft.
Creating Users with Active Directory Lightweight Directory Services (Windows)[
^]
For future reference, this is the type of question that is easily answered by asking google. You'll learn a lot more by doing research yourself first and you'll find the answer faster rather than waiting for someone else to google it for you.
If you get stuck on a specific piece of the code, come back and ask a new question and post the relevant code and be very clear as to what you need help with.