Top ".net" questions

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

How can I solve a connection pool problem between ASP.NET and SQL Server?

The last few days we see this error message in our website too much: "Timeout expired. The timeout period elapsed …

.net asp.net sql-server sql-server-2005
What does "exited with code 9009" mean during this build?

What does this error message mean? What could I do to correct this issue? AssemblyInfo.cs exited with code 9009 The …

.net visual-studio
How to remove all event handlers from an event

To create a new event handler on a control you can do this c.Click += new EventHandler(mainFormButton_Click); or …

c# .net winforms events
How do I clone a range of array elements to a new array?

I have an array X of 10 elements. I would like to create a new array containing all the elements from …

c# arrays .net clone deep-copy
How do I convert an enum to a list in C#?

Is there a way to convert an enum to a list that contains all the enum's options?

c# .net enums
What is the difference between const and readonly in C#?

What is the difference between const and readonly in C#? When would you use one over the other?

c# .net constants readonly
WCF - How to Increase Message Size Quota

I have a WCF Service which returns 1000 records from database to the client. I have an ASP.NET WCF client (…

.net asp.net wcf .net-3.5
How can I make the cursor turn to the wait cursor?

I have a C# application that has users login to it, and because the hashing algorithm is expensive, it takes …

c# .net winforms cursor
How do I run a simple bit of code in a new thread?

I have a bit of code that I need to run in a different thread than the GUI as it …

c# .net multithreading
Convert UTC/GMT time to local time

We are developing a C# application for a web-service client. This will run on Windows XP PC's. One of the …

c# .net datetime utc