Archive for the ‘Computer Stuff’ Category

Type Associations in Windows

I’ve just found out about two convenient shell commands that can be used to check out and change/remove file associations in Windows. The first one is ftype, that allows you to define aliases for executable files to be invoked. The other one is assoc, whereby you can associate file name extensions to the aforementioned aliases. [...]

Read the rest of this entry »

Limits of Method Extensions in C# (dotNET 3.5)

After spending almost an hour trying to understand why an extended method would just not be available to the extended object types, I found out about a limit of this feature that I will make a note of, for future reference. Share this:EmailFacebookSharePrintRedditStumbleUponDigg

Read the rest of this entry »

The switch statement in C#

Compared to Java and C/C++, the switch statement as implemented in the C# language offers more flexibility. It can be used with a wider range of types and offers a more complex fall-through mechanism.

Read the rest of this entry »