I will show simple example to update list item using REST in a console application.
While updating or Creating list items we need Form Digest. So in below code, first of all we will have to get Form Digest using method GetFormDigest().
This is complete program.cs. This is tried and tested code and it works well.
Let me know your thoughts on comments below.