How do you convert the following C# code to VB.NET?
private static readonly ICollection<string>
_skipHeaders = new[]
{
"Connection",
"Keep-Alive",
"Accept",
"Host",
"User-Agent",
"Content-Length",
"Content-Type",
"Accept-Encoding",
"Authorization",
"Referer",
ProxyMethodHeader,
ProxyAuthorizationHeader,
ProxyAcceptHeader,
ProxyAgentHeader,
ProxyQueryHeader
};
The following will work for vb9
Private Shared _skipHeaders as ICollection(Of String) = New String() { _
"Connection", _
"Keep-Alive", _
... }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With