How can I speed up hashtable lookups with struct object as keys?

When you have struct objects as the key in a hashtable, the lookup operation of the hashtable performs miserably. This can be attributes to the GetHashCode() function which is used internally to do the lookup.

If a struct contains only simple value t…

Where can I find design and coding guidelines for .NET?

tipu_77 asked “What are microsoft suggested naming conventions in C#?” The .NET Framework Team collects their recommendations at their GotDotNet community site.     which points to a fairly comprehensive MSDN page    &nbs…

What does the /target: command line option do in the C# compiler?

All the /target: options except module create .NET assemblies. Depending on the option, the compiler adds metadata for the operating system to use when loading the portable executable (PE) file and for the runtime to use in executing the contained asse…