[knockout.js] Foreach binding to an array of strings (or numbers, or bools…)

I’m currently working on a web application where I have to write an interface that allows users to delete photos that they have uploaded to the site. The user interface and corresponding view model are based on the following design.

[knockout.js] Boolean binding not working

Here’s a quick fix if you’re doing data binding in knockout and wondering why a binding like the following isn’t working:

[C#] How can is outperform as?

Take a look at this code

[C#] Compare generic variables for equality

This is a simple task, yet one which is frequently carried out incorrectly. This kind of comparison is often required when dealing with classes that look like the following.