Top ".net" questions

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

.NET HashTable Vs Dictionary - Can the Dictionary be as fast?

I am trying to figure out when and why to use a Dictionary or a HashTable. I have done a …

c# .net collections dictionary hashtable
What is an IndexOutOfRangeException / ArgumentOutOfRangeException and how do I fix it?

I have some code and when it executes, it throws a IndexOutOfRangeException, saying, Index was outside the bounds of the …

c# .net indexoutofrangeexception
Troubleshooting BadImageFormatException

I have a Windows service written in C# using Visual Studio 2010 and targeting the full .NET Framework 4. When I run …

c# .net exception
Parser Error Message: Could not load type 'TestMvcApplication.MvcApplication'

I am getting the following error on one of our production servers. Not sure why it is working on the …

.net asp.net-mvc
What is the difference between .NET Core and .NET Standard Class Library project types?

In Visual Studio, there are at least three different types of class libraries you can create: Class Library (.NET Framework) …

.net .net-core class-library .net-standard
EF LINQ include multiple and nested entities

Ok, I have tri-leveled entities with the following hierarchy: Course -> Module -> Chapter Here was the original …

.net asp.net-mvc-3 linq entity-framework entity-framework-5
What's the difference between Invoke() and BeginInvoke()

Just wondering what the difference between BeginInvoke() and Invoke() are? Mainly what each one would be used for. EDIT: What …

c# .net multithreading invoke begininvoke
Strip double quotes from a string in .NET

I'm trying to match on some inconsistently formatted HTML and need to strip out some double quotes. Current: <input …

c# .net vb.net
What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion?

There are three assembly version attributes. What are differences? Is it ok if I use AssemblyVersion and ignore the rest? …

.net assemblies attributes
What are major differences between C# and Java?

I just want to clarify one thing. This is not a question on which one is better, that part I …

c# .net clr java