Is ASCII - CSharp System

CSharp examples for System:String ASCII

Description

Is ASCII

Demo Code


using System.Linq;
using System.Text;
using System.IO;//w w  w . j a  va  2  s  . c  om
using System.Text.RegularExpressions;
using System.Diagnostics;
using System;

public class Main{
        public static bool IsASCII(this string s)
        {
            return s.All(c => c < 127);
        }
}

Related Tutorials