Top ".net" questions

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

How do you configure an OpenFileDialog to select folders?

In VS .NET, when you are selecting a folder for a project, a dialog that looks like an OpenFileDialog or …

.net windows winapi openfiledialog
Escape curly brace '{' in String.Format

How do I display a literal curly brace character when using the String.Format method? Example: sb.AppendLine(String.Format("…

c# .net string
powershell - extract file name and extension

I need to extract file name and extension from e.g. my.file.xlsx. I don't know the name of …

.net powershell powershell-2.0
ConfigurationManager.AppSettings - How to modify and save?

It might sound too trival to ask and I do the same thing as suggested in articles, yet it doesn't …

c# .net appsettings configurationmanager settings
What is the best algorithm for overriding GetHashCode?

In .NET, the GetHashCode method is used in a lot of places throughout the .NET base class libraries. Implementing it …

.net algorithm hashcode gethashcode
What does the Visual Studio "Any CPU" target mean?

I have some confusion related to the .NET platform build options in Visual Studio 2008. What is the "Any CPU" compilation …

.net visual-studio-2008 build 64-bit
Generate a unique id

I am a student at university and our task is to create a search engine. I am having difficulty generating …

c# asp.net .net uniqueidentifier
Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0

I have installed MS SQL Server 2008 R2 and when I try to update model from database under EDMX file I …

.net visual-studio sql-server-2008-r2 entity-framework-5
HRESULT: 0x80131040: The located assembly's manifest definition does not match the assembly reference

The located assembly's manifest definition does not match the assembly reference getting this when running nunit through ncover. Any idea?

.net nunit ncover
C# Ignore certificate errors?

I am getting the following error during a web service request to a remote web service: Could not establish trust …

c# .net ssl