Top ".net" questions

Do NOT use for questions about .NET Core - use [.net-core] instead.

How to generate service reference with only physical wsdl file

I have been creating and consuming web services for years and always have been able to use Visual Studio to …

.net web-services service-reference
How do I abort/cancel TPL Tasks?

In a thread, I create some System.Threading.Task and start each task. When I do a .Abort() to kill …

c# .net multithreading task abort
How should I cast in VB.NET?

Are all of these equal? Under what circumstances should I choose each over the others? var.ToString() CStr(var) CType(…

.net vb.net casting
Is there anything like .NET's NotImplementedException in Java?

Is there anything like .NET's NotImplementedException in Java?

java .net exception
Why use the 'ref' keyword when passing an object?

If I am passing an object to a method, why should I use the ref keyword? Isn't this the default …

c# .net pass-by-reference ref
Load an image from a url into a PictureBox

I want to load an image into a PictureBox. This is the image I want to load: http://www.gravatar.…

c# .net image picturebox loadimage
Allowing Untrusted SSL Certificates with HttpClient

I'm struggling to get my Windows 8 application to communicate with my test web API over SSL. It seems that HttpClient/…

c# .net windows-8 windows-runtime
How can I pass a parameter in Action?

private void Include(IList<string> includes, Action action) { if (includes != null) { foreach (var include in includes) action(<…

c# .net action
What is the difference between IEnumerator and IEnumerable?

Possible Duplicate: Can anyone explain IEnumerable and IEnumerator to me? What are the differences between IEnumerator and IEnumerable?

c# .net ienumerable ienumerator