Detected if string Non English language C#

2 Comments

 

This class will help you to detect if the string contains non English characters ,

The System.Text.RegularExpressions namespace contains classes that provide access to the .NET Framework regular expression engine. ( Regex )

 

public bool IsEnglish(string inputstring)
{
    Regex regex = new Regex(@"[A-Za-z0-9 .,-=+(){}\[\]\\]");
    MatchCollection matches = regex.Matches(inputstring);

    if (matches.Count.Equals(inputstring.Length))
        return true;
    else
        return false;
}

Enjoy …

Get .NET Executable or DLL CLR Version

No Comments

This article is for .NET, C# programmer only !

 

Hi,

 

Have you ever got a compiled .NET component EXE or DLL file and wondering which .NET version is used to build it ?

Then you have came to the right place , I build this free tool .NET CLR Version Checker

which you can easily drop some files into it’s window to get there .NET CLR version.

 

NET CLR version Checker snapshot

 

You can download it tool from Here

 

P.S:

This tool required Microsoft Framework .NET 2.0 you can get it from here .

 

Have a nice checking