+CharExtensions

master
Harald Wolff 2017-10-26 23:43:08 +02:00
parent 919a4205f4
commit f2ea0ed0b6
2 changed files with 11 additions and 0 deletions

10
CharExtensions.cs 100644
View File

@ -0,0 +1,10 @@
using System;
namespace sharp.extensions
{
public static class CharExtensions
{
public static bool isDigit(this char ch){
return ((ch >= '0') && (ch <= '9'));
}
}
}

View File

@ -39,6 +39,7 @@
<Compile Include="DataReader.cs" />
<Compile Include="Tripple.cs" />
<Compile Include="Tuple.cs" />
<Compile Include="CharExtensions.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>