Example #1
0
        public bool Span_InvariantCultureIgnoreCase()
        {
            var lower = Lower.AsSpan();
            var upper = Upper.AsSpan();

            return(lower.Equals(upper, StringComparison.InvariantCultureIgnoreCase));
        }
Example #2
0
        public bool Span_OrdinalIgnoreCase()
        {
            var lower = Lower.AsSpan();
            var upper = Upper.AsSpan();

            return(lower.Equals(upper, StringComparison.OrdinalIgnoreCase));
        }