function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abhijit Shrikhande 10Abhijit Shrikhande 10 

How to call a Salesforce REST service using C# in .NET 4.0?

I have been through the following document on developerforce.

I am trying to call a REST based service from a console application in . NET 4.0
The await keyword is not available in 4.0. I do not wish to cannot change my target framework to 4.5
So how do I go about making this code work with .NET 4.0?

Any help is appreciated. Thanks in advance.

Are you able to find the solution?