Top ".net" questions

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

Could not load file or assembly 'System.Data.SQLite'

I've installed ELMAH 1.1 .Net 3.5 x64 in my ASP.NET project and now I'm getting this error (whenever I try to …

.net sqlite elmah
How do I copy the contents of a String to the clipboard in C#?

If I have some text in a String, how can I copy that to the clipboard so that the user …

c# .net clipboard
How to empty a list in C#?

I want to empty a list. How to do that?

c# .net
How to parse a string into a nullable int

I'm wanting to parse a string into a nullable int in C#. ie. I want to get back either the …

c# .net string .net-3.5 nullable
Entity Framework: table without primary key

I have an existing DB with which I would like to build a new app using EF4.0 Some tables do …

.net entity-framework
SQL Connection Error: System.Data.SqlClient.SqlException (0x80131904)

I am seeing this in several situations and it is intermittent in our web based application connecting to SQL 2008 R2 …

.net sql-server sql-server-2008 named-pipes
Getting all types in a namespace via reflection

How do you get all the classes in a namespace through reflection in C#?

c# .net reflection namespaces
Can Json.NET serialize / deserialize to / from a stream?

I have heard that Json.NET is faster than DataContractJsonSerializer, and wanted to give it a try... But I couldn't …

.net serialization json.net
Using FolderBrowserDialog in WPF application

I have a WPF application that I need to have users access directories in. I have searched to the end …

c# .net wpf folderbrowserdialog windowsformsintegration
What can I use for good quality code coverage for C#/.NET?

I wonder what options there are for .NET (or C# specifically) code coverage, especially in the lower priced segment? I …

c# .net code-coverage