4
Reply

Why appsettings keys (in web.config) are not case sensitive ?

Why appsettings keys (in web.config) are not case sensitive ?

    The default comparer is a CaseInsensitiveComparer that uses the conventions of the invariant culture; that is, key comparisons are case-insensitive by default.

    The default comparer is a CaseInsensitiveComparer that uses the conventions of the invariant culture; that is, key comparisons are case-insensitive by default.

    For Unique string eg :mailid

    The default comparer is a CaseInsensitiveComparer that uses the conventions of the invariant culture; that is, key comparisons are case-insensitive by default.