Top ".net" questions

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

How to programmatically click a button in WPF?

Since there's no button.PerformClick() method in WPF, is there a way to click a WPF button programmatically?

c# .net wpf button
Why should I use var instead of a type?

Possible Duplicate: ReSharper and var After I have installed ReSharper it demands(by warnings) that I use var whenever possible, …

c# .net coding-style resharper var
Window.Open with PDF stream instead of PDF location

Based on the question Open PDF in new browser full window, it looks like I can use JavaScript to open …

javascript asp.net .net pdf window.open
How to convert a column of DataTable to a List

I have a DataTable with multiple columns. I want to get a List<String> out of first column …

c# .net list datatable
Favorite Visual Studio keyboard shortcuts

What is your favorite Visual Studio keyboard shortcut? I'm always up for leaving my hands on the keyboard and away …

.net visual-studio keyboard-shortcuts
Why am I getting this error: No mapping specified for the following EntitySet/AssociationSet - Entity1?

I'm using Entity Framework 4 with the Model First approach. I started the project, designed the entities and generated the database. …

.net entity-framework entity-framework-4
How to check if an object is a certain type

I am passing various objects to a subroutine to run the same process but using a different object each time. …

.net vb.net object drop-down-menu object-type
Unable to find the requested .Net Framework Data Provider in Visual Studio 2010 Professional

Why am I getting "Unable to find the requested .Net Framework Data Provider" when trying to setup a new datasource …

asp.net .net visual-studio-2010 ado.net datasource
How to change symbol for decimal point in double.ToString()?

I would like to change decimal point to another character in C#. I have a double variable value double value; …

c# .net double tostring
.NET 4.0 has a new GAC, why?

%windir%\Microsoft.NET\assembly\ is the new GAC. Does it mean now we have to manage two GACs, one for .…

.net .net-4.0 gac