ToChar() public static method

public static ToChar ( string s ) : Char
s string
return Char
示例#1
0
        public static char?GetAttributeChar([NotNull] this XmlReader reader, string name, char?Default = null)
        {
            var str = reader.GetAttribute(name);

            return(str is null ? Default : XmlConvert.ToChar(str));
        }