I cannot see and run WebClient class in C#, use it's methods and download something. I have this warning:
Error 1 The type or namespace name 'WebClient' could not be found (are you missing a using directive or an assembly reference?)
Did you add
using System.Net;
at the top?
Or you can use ReSharper: https://www.jetbrains.com/resharper/ to add some stuff automatically ;-) See the video to understand better: https://www.youtube.com/watch?v=fO1WTIXL4Iw or this one - created by Resharper's user (not the creator JetBrains): https://www.youtube.com/watch?v=wga4jBz-sn4
622 questions
979 answers
129 comments
53 users