PayPal API and VB
<p>I am trying to convert the C# code sample for making your first call to the PayPal API to VB using VS2015.  </p>

<p>Specifically, I am trying to convert </p>

<pre><code>var accessToken = new OAuthTokenCredential(config).GetAccessToken(); 
</code></pre>

<p>I have tried using </p>

<pre><code>Dim accessToken = New OAuthTokenCredential(config).GetAccessToken()
</code></pre>

<p>but I receive the following error: </p>

<pre><code>Overload resolution failed because no accessible NEW can be called without a narrowing conversion. 
</code></pre>

<p>Does anyone have insight into this error or does anyone have a vb sample that I can refer to?</p>