System.Text.InternalEncoderBestFitFallback.Equals C# (CSharp) Method

Equals() public method

public Equals ( Object value ) : bool
value Object
return bool
        public override bool Equals(Object value)
        {
            InternalEncoderBestFitFallback that = value as InternalEncoderBestFitFallback;
            if (that != null)
            {
                return (encoding.CodePage == that.encoding.CodePage);
            }
            return (false);
        }