Tag Archives: miscellany

Useful tools and links

This page lists some useful tools and links that I visit regularly. If you want to recommend others, please post them in the comments. Tools Programming Sites Forums Tools @icon sushi Image to icon converter that supports the mask editor … Continue reading

Posted in miscellany, tools | Tagged , , , , , , , , | Leave a comment

List the shortcuts in the computer’s network neighborhood in C#

This example uses the Windows Script Host to list shortcuts in the network neighborhood. Before the program can use the Windows Script Host, you must add a reference to the COM object “Windows Script Host Object Model.” To make using … Continue reading

Posted in miscellany, network | Tagged , , , , , , , , , , , | 2 Comments

Why Twitter recently wanted you to change your password

A few days ago, Twitter asked all of its users to change their passwords. The reason they did that was that they found a bug in their system that made an internal log file store passwords in an unencrypted form. … Continue reading

Posted in cryptography, internet, miscellany | Tagged , , , , , , , , , , , | Leave a comment

Disable the charms gesture in Windows 8 (and learn a bit about user interface design)

I still really like my new laptop (see my post Quick review of a new laptop), but one thing I really hate about Windows 8 is the way the charms bar kept popping up at seemingly random times. I would … Continue reading

Posted in miscellany, user interface | Tagged , , , , , , , , , , , | 2 Comments

Make a Shakespeare insult generator in C#

This example shows how to build a Shakespeare insult generator by selecting one word from each of three arrays and combining the results. The following code shows the arrays (with many values omitted to save space). // The insult pieces … Continue reading

Posted in arrays, miscellany, strings | Tagged , , , , , , , , , , , , , , | Leave a comment

The most popular posts at C# Helper over the last 12 months

Just for fun, here’s a list of the C# Helper web site’s most popular posts over the last 12 months. This isn’t “fair” to the most recent posts because they haven’t been posted for as long. I still think it’s … Continue reading

Posted in books, miscellany | Tagged , , , , , , , , | Leave a comment

Determine whether two lists contain the same sequences of objects in different orders in C#

The SequenceEqual method determines whether two IEnumerable sequences contain the same objects in the same order. There is a simple way to determine whether the lists contain the same objects in different orders: sort the objects and then call SequenceEqual. … Continue reading

Posted in LINQ, lists, miscellany, OOP | Tagged , , , , , , , , , , , , , | Leave a comment

Determine whether two lists contain the same sequences of objects in C#

The IEnumerable interface provides a SequenceEqual method that determines whether two IEnumerable sequences contain the same objects. Normally, it uses reference equality so it considers two objects equal only if they refer to the same instance. However, if the objects … Continue reading

Posted in lists, miscellany, OOP | Tagged , , , , , , , , , , , | 2 Comments

Copy a directory hierarchy into the executable directory in C#

The example Copy files into the executable directory in C# explains how to make Visual Studio copy a file into the executable directory when it builds a project. That makes it easy for the executable to find the file when … Continue reading

Posted in files, miscellany, system | Tagged , , , , , , , , , , , , , , , | Leave a comment

How to use the examples at C# Helper

First, read over the text and the code shown on the web page. If you only need a small piece of code, that may be all you need. For example, if you don’t remember how to draw lines with custom … Continue reading

Posted in example program, miscellany | Tagged , , , , , , , | Leave a comment