REST API vs10

We are new to this API. Any code samples to authenticate/login or using REST API using ASP.NET and C#? Any help is really appreciated?

Thanks

Rama