CRM API - create leads - C# example

CRM API - create leads - C# example

Does anyone have a C# code snippet, showing how to call the API to create a new lead?
I have written some code to do this, and I get a message back that says "Record(s) added successfully", but I don't actually see those records in my CRM account.
I must be doing something wrong. Thanks.