String.Equal(a,b,StringComparison.OrdinalIgnoreCase) perhaps.