Month of January 2012

Check if string contains a character in C#

There are multiple ways of checking if a string contains a specific character in C#. There are methods built into the String class, and there are extension methods in System.Linq.

What is Device Pixel Ratio?

The device pixel ratio is the ratio between physical pixels and logical pixels on a high-resolution screen. Different devices report different values, including non-integer ones. You should use media queries to handle varying screen densities correctly.