System.Char.ToString C# (CSharp) Méthode

ToString() public méthode

public ToString ( ) : string
Résultat string
        public override string ToString()
        {
            return new String(_value, 1);
        }

Usage Example

Exemple #1
0
        /// <summary>
        /// Ises the quantifier.
        /// </summary>
        /// <returns>
        /// The quantifier.
        /// </returns>
        /// <param name='_value'>
        /// If set to <c>true</c> _value.
        /// </param>
        public static bool isQuantifier(System.Char _value)
        {
            string pattern = @"[\+\.\*\?]";
            Regex  rgx     = new Regex(pattern);

            return(rgx.IsMatch(_value.ToString()));
        }
All Usage Examples Of System.Char::ToString