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

Equals() public method

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