is Numeric Char - CSharp System

CSharp examples for System:Char

Description

is Numeric Char

Demo Code

//  Copyright by Contributors
using System.IO;//w w w.jav  a 2  s  .c  o m
using System.Runtime.Serialization.Formatters.Binary;
using System.Collections;
using System.Runtime.CompilerServices;
using System.Text;
using System.Collections.Generic;
using System;

public class Main{
        //[MethodImpl(MethodImplOptions.Synchronized)]
        public static bool isNumericChar(char c)
        {
            return (c >= '0' && c <= '9');
        }
}

Related Tutorials