Hi all,
For example:
vb.net Code:
Dim wc As New System.Net.WebClient() Dim wc As Net.WebClient = New System.Net.WebClient()
As the first line above is a shortcut for the second, is there an equivalent in C# for this or is this the only option?
c# Code:
System.Net.WebClient wc = new System.Net.WebClient();
Thanks.




Reply With Quote