Thursday, March 10, 2011

How to handle Apostrophe in Javascript

Use double quotes instead of singele quote.

var WaterMark = "<%= Resources.General.Hint %>";

C# Object Type Comparison

Is
if (obj is MyObject)
{
}